diff options
author | Joel Challis <[email protected]> | 2024-03-15 22:24:00 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-15 22:24:00 +0000 |
commit | 1a903372846f24028431d20bc25e64b4da69da27 (patch) | |
tree | d628946d38d303f98f24c14db6b3cdd85f7397bb /keyboards/planck | |
parent | 24d824aae40b932dbcdc5036d7f30a6f2f352442 (diff) | |
download | qmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.tar.gz qmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.zip |
Migrate features from rules.mk to data driven - OPQR (#23285)
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/light/keyboard.json (renamed from keyboards/planck/light/info.json) | 11 | ||||
-rw-r--r-- | keyboards/planck/light/rules.mk | 14 | ||||
-rw-r--r-- | keyboards/planck/rev1/keyboard.json (renamed from keyboards/planck/rev1/info.json) | 8 | ||||
-rw-r--r-- | keyboards/planck/rev1/rules.mk | 12 | ||||
-rw-r--r-- | keyboards/planck/rev2/keyboard.json (renamed from keyboards/planck/rev2/info.json) | 8 | ||||
-rw-r--r-- | keyboards/planck/rev2/rules.mk | 12 | ||||
-rw-r--r-- | keyboards/planck/rev3/keyboard.json (renamed from keyboards/planck/rev3/info.json) | 8 | ||||
-rw-r--r-- | keyboards/planck/rev3/rules.mk | 12 | ||||
-rw-r--r-- | keyboards/planck/rev4/keyboard.json (renamed from keyboards/planck/rev4/info.json) | 9 | ||||
-rw-r--r-- | keyboards/planck/rev4/rules.mk | 12 | ||||
-rw-r--r-- | keyboards/planck/rev5/keyboard.json (renamed from keyboards/planck/rev5/info.json) | 9 | ||||
-rw-r--r-- | keyboards/planck/rev5/rules.mk | 12 | ||||
-rw-r--r-- | keyboards/planck/rev6/keyboard.json (renamed from keyboards/planck/rev6/info.json) | 12 | ||||
-rw-r--r-- | keyboards/planck/rev6/rules.mk | 16 |
14 files changed, 65 insertions, 90 deletions
diff --git a/keyboards/planck/light/info.json b/keyboards/planck/light/keyboard.json index 8fc112664b..33801562e5 100644 --- a/keyboards/planck/light/info.json +++ b/keyboards/planck/light/keyboard.json @@ -56,6 +56,17 @@ }, "driver": "is31fl3731" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "midi": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["E6", "E3", "E4", "D3", "D4", "D5", "C0", "A7", "A6", "E1", "E0", "D7"], "rows": ["B0", "E7", "F0", "F1"] diff --git a/keyboards/planck/light/rules.mk b/keyboards/planck/light/rules.mk deleted file mode 100644 index a8efaf98f4..0000000000 --- a/keyboards/planck/light/rules.mk +++ /dev/null @@ -1,14 +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 = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = yes # MIDI support -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/planck/rev1/info.json b/keyboards/planck/rev1/keyboard.json index 72646ac6bf..f737781a1c 100644 --- a/keyboards/planck/rev1/info.json +++ b/keyboards/planck/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAE01", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev1/rules.mk b/keyboards/planck/rev1/rules.mk deleted file mode 100644 index 99b8691962..0000000000 --- a/keyboards/planck/rev1/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev2/info.json b/keyboards/planck/rev2/keyboard.json index 2bbc5760c2..d10982f357 100644 --- a/keyboards/planck/rev2/info.json +++ b/keyboards/planck/rev2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAE01", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev2/rules.mk b/keyboards/planck/rev2/rules.mk deleted file mode 100644 index 99b8691962..0000000000 --- a/keyboards/planck/rev2/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev3/info.json b/keyboards/planck/rev3/keyboard.json index 17f07d58f3..16d2b59a2e 100644 --- a/keyboards/planck/rev3/info.json +++ b/keyboards/planck/rev3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAE01", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev3/rules.mk b/keyboards/planck/rev3/rules.mk deleted file mode 100644 index 99b8691962..0000000000 --- a/keyboards/planck/rev3/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev4/info.json b/keyboards/planck/rev4/keyboard.json index 5eaf58e14c..725a297b2f 100644 --- a/keyboards/planck/rev4/info.json +++ b/keyboards/planck/rev4/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAE01", "device_version": "0.0.4" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev4/rules.mk b/keyboards/planck/rev4/rules.mk deleted file mode 100644 index 73d6182ff4..0000000000 --- a/keyboards/planck/rev4/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev5/info.json b/keyboards/planck/rev5/keyboard.json index f9265e1409..f816d23e9b 100644 --- a/keyboards/planck/rev5/info.json +++ b/keyboards/planck/rev5/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAE01", "device_version": "0.0.5" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev5/rules.mk b/keyboards/planck/rev5/rules.mk deleted file mode 100644 index 73d6182ff4..0000000000 --- a/keyboards/planck/rev5/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev6/info.json b/keyboards/planck/rev6/keyboard.json index add17963b4..b0028795fe 100644 --- a/keyboards/planck/rev6/info.json +++ b/keyboards/planck/rev6/keyboard.json @@ -19,6 +19,18 @@ "driver": "ws2812", "sleep": true }, + "features": { + "audio": true, + "bootmagic": true, + "command": true, + "console": true, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"] diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk deleted file mode 100644 index ce96f94079..0000000000 --- a/keyboards/planck/rev6/rules.mk +++ /dev/null @@ -1,16 +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 = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. - -RGB_MATRIX_ENABLE = no -ENCODER_ENABLE = yes -DIP_SWITCH_ENABLE = yes |