aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hnahkb
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/hnahkb
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/hnahkb')
-rw-r--r--keyboards/hnahkb/freyr/keyboard.json (renamed from keyboards/hnahkb/freyr/info.json)9
-rw-r--r--keyboards/hnahkb/freyr/rules.mk12
-rw-r--r--keyboards/hnahkb/stella/keyboard.json (renamed from keyboards/hnahkb/stella/info.json)10
-rw-r--r--keyboards/hnahkb/stella/rules.mk12
4 files changed, 19 insertions, 24 deletions
diff --git a/keyboards/hnahkb/freyr/info.json b/keyboards/hnahkb/freyr/keyboard.json
index 26d1fc52d8..4ddc37d3dc 100644
--- a/keyboards/hnahkb/freyr/info.json
+++ b/keyboards/hnahkb/freyr/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x1895",
"device_version": "0.0.2"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["B4", "D7", "D6", "D4", "B5", "C7", "C6", "F5", "F6", "F7"],
"rows": ["D3", "B2", "B1", "B0", "E6", "F0", "D2", "D5", "F4", "F1"]
diff --git a/keyboards/hnahkb/freyr/rules.mk b/keyboards/hnahkb/freyr/rules.mk
deleted file mode 100644
index 26064ab2ac..0000000000
--- a/keyboards/hnahkb/freyr/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 = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/hnahkb/stella/info.json b/keyboards/hnahkb/stella/keyboard.json
index 98f8f721f3..13abbffbec 100644
--- a/keyboards/hnahkb/stella/info.json
+++ b/keyboards/hnahkb/stella/keyboard.json
@@ -8,6 +8,16 @@
"pid": "0x0AB7",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["B4", "D7", "D6", "D4", "B5", "C7", "C6", "F5", "F6", "F7"],
"rows": ["D3", "B2", "B1", "B0", "E6", "F0", "D2", "D5", "F4", "F1"]
diff --git a/keyboards/hnahkb/stella/rules.mk b/keyboards/hnahkb/stella/rules.mk
deleted file mode 100644
index b7e8d8e706..0000000000
--- a/keyboards/hnahkb/stella/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 = 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