aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gkeyboard
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-15 01:42:55 +0000
committerGitHub <[email protected]>2024-03-15 01:42:55 +0000
commit01473075f8e78adcfbd4f9f4b6bb1d7682a7ee4d (patch)
treefe4f7b504ab90f5ff82162adc8366eccd8163b0b /keyboards/gkeyboard
parent80b72487ce053f128817c5d4c625a63cb3cf9c10 (diff)
downloadqmk_firmware-01473075f8e78adcfbd4f9f4b6bb1d7682a7ee4d.tar.gz
qmk_firmware-01473075f8e78adcfbd4f9f4b6bb1d7682a7ee4d.zip
Migrate features from rules.mk to data driven - EFGH (#23248)
Diffstat (limited to 'keyboards/gkeyboard')
-rw-r--r--keyboards/gkeyboard/gkb_m16/keyboard.json (renamed from keyboards/gkeyboard/gkb_m16/info.json)9
-rw-r--r--keyboards/gkeyboard/gkb_m16/rules.mk12
2 files changed, 9 insertions, 12 deletions
diff --git a/keyboards/gkeyboard/gkb_m16/info.json b/keyboards/gkeyboard/gkb_m16/keyboard.json
index 9d80eba885..0d4ddbd4c3 100644
--- a/keyboards/gkeyboard/gkb_m16/info.json
+++ b/keyboards/gkeyboard/gkb_m16/keyboard.json
@@ -29,6 +29,15 @@
"ws2812": {
"pin": "F1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7"],
"rows": ["D4", "D5", "D6", "D7"]
diff --git a/keyboards/gkeyboard/gkb_m16/rules.mk b/keyboards/gkeyboard/gkb_m16/rules.mk
deleted file mode 100644
index b851d0ab39..0000000000
--- a/keyboards/gkeyboard/gkb_m16/rules.mk
+++ /dev/null
@@ -1,12 +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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output