aboutsummaryrefslogtreecommitdiff
path: root/keyboards/quarkeys/z40
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-15 22:24:00 +0000
committerGitHub <[email protected]>2024-03-15 22:24:00 +0000
commit1a903372846f24028431d20bc25e64b4da69da27 (patch)
treed628946d38d303f98f24c14db6b3cdd85f7397bb /keyboards/quarkeys/z40
parent24d824aae40b932dbcdc5036d7f30a6f2f352442 (diff)
downloadqmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.tar.gz
qmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.zip
Migrate features from rules.mk to data driven - OPQR (#23285)
Diffstat (limited to 'keyboards/quarkeys/z40')
-rw-r--r--keyboards/quarkeys/z40/keyboard.json (renamed from keyboards/quarkeys/z40/info.json)9
-rw-r--r--keyboards/quarkeys/z40/rules.mk16
2 files changed, 9 insertions, 16 deletions
diff --git a/keyboards/quarkeys/z40/info.json b/keyboards/quarkeys/z40/keyboard.json
index 6e7d213614..fb945dba5a 100644
--- a/keyboards/quarkeys/z40/info.json
+++ b/keyboards/quarkeys/z40/keyboard.json
@@ -52,6 +52,15 @@
"alternating": true
}
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgb_matrix": true
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6", "D0", "B1", "B0"],
"rows": ["E6", "B3", "C7", "C6"]
diff --git a/keyboards/quarkeys/z40/rules.mk b/keyboards/quarkeys/z40/rules.mk
deleted file mode 100644
index 4554ab2970..0000000000
--- a/keyboards/quarkeys/z40/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 = 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
-AUDIO_ENABLE = no # Audio output
-
-# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE
-RGBLIGHT_ENABLE = no # Enable this and unable RGB_MATRIX_ENABLE to use RGB light effect
-
-RGB_MATRIX_ENABLE = yes # Enable this and unable RGBLIGHT_ENABLE to use RGB Matrix effect