aboutsummaryrefslogtreecommitdiff
path: root/keyboards/alf
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-14 03:56:42 +0000
committerGitHub <[email protected]>2024-03-14 03:56:42 +0000
commit8e5cd981e1cb8580cde65ac99f335b59d65da632 (patch)
tree3fe2d43bf0b7db23d0f266759fe82b8f44e8a6c9 /keyboards/alf
parentf217cd46577a5014bc8439339ec0a5471febbfda (diff)
downloadqmk_firmware-8e5cd981e1cb8580cde65ac99f335b59d65da632.tar.gz
qmk_firmware-8e5cd981e1cb8580cde65ac99f335b59d65da632.zip
Migrate features from rules.mk to DD (#23247)
Diffstat (limited to 'keyboards/alf')
-rw-r--r--keyboards/alf/dc60/keyboard.json (renamed from keyboards/alf/dc60/info.json)10
-rw-r--r--keyboards/alf/dc60/rules.mk12
-rw-r--r--keyboards/alf/x2/keyboard.json (renamed from keyboards/alf/x2/info.json)10
-rw-r--r--keyboards/alf/x2/rules.mk12
4 files changed, 20 insertions, 24 deletions
diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/keyboard.json
index e0aa59f44f..7fd360d726 100644
--- a/keyboards/alf/dc60/info.json
+++ b/keyboards/alf/dc60/keyboard.json
@@ -7,6 +7,16 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": false,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"],
"rows": ["B0", "B1", "B2", "B3", "B4"]
diff --git a/keyboards/alf/dc60/rules.mk b/keyboards/alf/dc60/rules.mk
deleted file mode 100644
index 16be45209b..0000000000
--- a/keyboards/alf/dc60/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/keyboard.json
index a7e76061f6..fe70097932 100644
--- a/keyboards/alf/x2/info.json
+++ b/keyboards/alf/x2/keyboard.json
@@ -8,6 +8,16 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/alf/x2/rules.mk b/keyboards/alf/x2/rules.mk
deleted file mode 100644
index 3d5cb57ad5..0000000000
--- a/keyboards/alf/x2/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 = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output