aboutsummaryrefslogtreecommitdiff
path: root/keyboards/winry
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-03-15 22:23:40 +0000
committerGitHub <noreply@github.com>2024-03-15 22:23:40 +0000
commit24d824aae40b932dbcdc5036d7f30a6f2f352442 (patch)
tree75f16b70a97e1e8d949a6ffba09c8eeb57ac753a /keyboards/winry
parent68e8d74188a251336bf2eaa8d58e1e04983ac29e (diff)
Migrate features from rules.mk to data driven - UVWXYZ (#23287)
Diffstat (limited to 'keyboards/winry')
-rw-r--r--keyboards/winry/winry25tc/keyboard.json (renamed from keyboards/winry/winry25tc/info.json)10
-rw-r--r--keyboards/winry/winry25tc/rules.mk13
-rw-r--r--keyboards/winry/winry315/keyboard.json (renamed from keyboards/winry/winry315/info.json)10
-rw-r--r--keyboards/winry/winry315/rules.mk14
4 files changed, 20 insertions, 27 deletions
diff --git a/keyboards/winry/winry25tc/info.json b/keyboards/winry/winry25tc/keyboard.json
index a5d3b71a26..9a83aded2c 100644
--- a/keyboards/winry/winry25tc/info.json
+++ b/keyboards/winry/winry25tc/keyboard.json
@@ -20,6 +20,16 @@
"rainbow_swirl": true
}
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "key_lock": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F5", "C7", "B7", "B2", "B4"],
"rows": ["E6", "F0", "D6", "D2", "B6"]
diff --git a/keyboards/winry/winry25tc/rules.mk b/keyboards/winry/winry25tc/rules.mk
deleted file mode 100644
index e1908949b3..0000000000
--- a/keyboards/winry/winry25tc/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-
-KEY_LOCK_ENABLE = yes
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/keyboard.json
index a7d71aca46..81971b339f 100644
--- a/keyboards/winry/winry315/info.json
+++ b/keyboards/winry/winry315/keyboard.json
@@ -82,6 +82,16 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgb_matrix": true
+ },
"matrix_pins": {
"direct": [
["F4", "C7", "D4", "D5", "D1", "F5", "C6", "D6", "D3", "D2", "F6", "B6", "D7", "B4", "B5", "B2", "D0", "E6", null, null, null, null, null, null]
diff --git a/keyboards/winry/winry315/rules.mk b/keyboards/winry/winry315/rules.mk
deleted file mode 100644
index 0f932779f5..0000000000
--- a/keyboards/winry/winry315/rules.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-RGB_MATRIX_ENABLE = yes