aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hnahkb
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-30 10:43:15 +0000
committerGitHub <[email protected]>2024-03-30 10:43:15 +0000
commit426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch)
treefbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/hnahkb
parent86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff)
downloadqmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz
qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/hnahkb')
-rw-r--r--keyboards/hnahkb/vn66/keyboard.json (renamed from keyboards/hnahkb/vn66/info.json)14
-rw-r--r--keyboards/hnahkb/vn66/rules.mk14
2 files changed, 14 insertions, 14 deletions
diff --git a/keyboards/hnahkb/vn66/info.json b/keyboards/hnahkb/vn66/keyboard.json
index cef3127be9..6934fd1f8f 100644
--- a/keyboards/hnahkb/vn66/info.json
+++ b/keyboards/hnahkb/vn66/keyboard.json
@@ -8,6 +8,20 @@
"pid": "0xCA2C",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F6", "F5", "F4", "F1", "F0", "C6", "C7", "B5", "B4", "D7", "D6", "D4", "D5", "D3"],
"rows": ["B1", "B2", "B3", "D2", "F7"]
diff --git a/keyboards/hnahkb/vn66/rules.mk b/keyboards/hnahkb/vn66/rules.mk
deleted file mode 100644
index 4f5a4635de..0000000000
--- a/keyboards/hnahkb/vn66/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 = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-LTO_ENABLE = yes