aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ymdk/np21
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-15 22:23:40 +0000
committerGitHub <[email protected]>2024-03-15 22:23:40 +0000
commit24d824aae40b932dbcdc5036d7f30a6f2f352442 (patch)
tree75f16b70a97e1e8d949a6ffba09c8eeb57ac753a /keyboards/ymdk/np21
parent68e8d74188a251336bf2eaa8d58e1e04983ac29e (diff)
downloadqmk_firmware-24d824aae40b932dbcdc5036d7f30a6f2f352442.tar.gz
qmk_firmware-24d824aae40b932dbcdc5036d7f30a6f2f352442.zip
Migrate features from rules.mk to data driven - UVWXYZ (#23287)
Diffstat (limited to 'keyboards/ymdk/np21')
-rw-r--r--keyboards/ymdk/np21/keyboard.json (renamed from keyboards/ymdk/np21/info.json)10
-rw-r--r--keyboards/ymdk/np21/rules.mk10
2 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/keyboard.json
index f420023dee..14a075042b 100644
--- a/keyboards/ymdk/np21/info.json
+++ b/keyboards/ymdk/np21/keyboard.json
@@ -8,6 +8,16 @@
"device_version": "2.0.0",
"max_power": 100
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5"],
"rows": ["B0", "B1", "B2", "B3"]
diff --git a/keyboards/ymdk/np21/rules.mk b/keyboards/ymdk/np21/rules.mk
deleted file mode 100644
index e9c8472d0b..0000000000
--- a/keyboards/ymdk/np21/rules.mk
+++ /dev/null
@@ -1,10 +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 = yes # Commands for debug and configuration
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow