aboutsummaryrefslogtreecommitdiff
path: root/keyboards/h0oni
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/h0oni
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/h0oni')
-rw-r--r--keyboards/h0oni/deskpad/keyboard.json (renamed from keyboards/h0oni/deskpad/info.json)9
-rw-r--r--keyboards/h0oni/deskpad/rules.mk13
-rw-r--r--keyboards/h0oni/hotduck/keyboard.json (renamed from keyboards/h0oni/hotduck/info.json)9
-rw-r--r--keyboards/h0oni/hotduck/rules.mk12
4 files changed, 18 insertions, 25 deletions
diff --git a/keyboards/h0oni/deskpad/info.json b/keyboards/h0oni/deskpad/keyboard.json
index e51aa7e7df..471d101693 100644
--- a/keyboards/h0oni/deskpad/info.json
+++ b/keyboards/h0oni/deskpad/keyboard.json
@@ -11,6 +11,15 @@
"tapping": {
"term": 250
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["D0", "D4", "D1"],
"rows": ["D7", "C6"]
diff --git a/keyboards/h0oni/deskpad/rules.mk b/keyboards/h0oni/deskpad/rules.mk
deleted file mode 100644
index 3f362330c9..0000000000
--- a/keyboards/h0oni/deskpad/rules.mk
+++ /dev/null
@@ -1,13 +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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/h0oni/hotduck/info.json b/keyboards/h0oni/hotduck/keyboard.json
index 939d1ec262..c034e7a3a4 100644
--- a/keyboards/h0oni/hotduck/info.json
+++ b/keyboards/h0oni/hotduck/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x6844",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"],
"rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5"]
diff --git a/keyboards/h0oni/hotduck/rules.mk b/keyboards/h0oni/hotduck/rules.mk
deleted file mode 100644
index bb40a3ee66..0000000000
--- a/keyboards/h0oni/hotduck/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 \ No newline at end of file