aboutsummaryrefslogtreecommitdiff
path: root/keyboards/2key2crawl
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-03-14 03:57:48 +0000
committerGitHub <noreply@github.com>2024-03-14 03:57:48 +0000
commitf1a279810fbab3b5d5c4cfa0b4146cf042dae3bb (patch)
treeca80167c75a759a10d60b1aba8e78e7683ed5e38 /keyboards/2key2crawl
parent8e5cd981e1cb8580cde65ac99f335b59d65da632 (diff)
downloadqmk_firmware-f1a279810fbab3b5d5c4cfa0b4146cf042dae3bb.tar.gz
qmk_firmware-f1a279810fbab3b5d5c4cfa0b4146cf042dae3bb.zip
Migrate features from rules.mk to DD (#23202)
Diffstat (limited to 'keyboards/2key2crawl')
-rw-r--r--keyboards/2key2crawl/keyboard.json (renamed from keyboards/2key2crawl/info.json)9
-rw-r--r--keyboards/2key2crawl/rules.mk13
2 files changed, 9 insertions, 13 deletions
diff --git a/keyboards/2key2crawl/info.json b/keyboards/2key2crawl/keyboard.json
index b8644a0712..4dfecbd696 100644
--- a/keyboards/2key2crawl/info.json
+++ b/keyboards/2key2crawl/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x6090",
"device_version": "0.0.2"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": true,
+ "encoder": true,
+ "extrakey": false,
+ "mousekey": false,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["B3", "B4", "B5", "B6", "B7", "C7", "B2"],
"rows": ["C4", "C5"]
diff --git a/keyboards/2key2crawl/rules.mk b/keyboards/2key2crawl/rules.mk
deleted file mode 100644
index 5e715569bc..0000000000
--- a/keyboards/2key2crawl/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = no # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # [Crawlpad] Custom backlighting code is used, so this should not be enabled
-AUDIO_ENABLE = no # [Crawlpad] This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
-RGBLIGHT_ENABLE = no # [Crawlpad] This can be enabled if a ws2812 strip is connected to the expansion port.
-ENCODER_ENABLE = yes # [2Key2crawl] Make the knobs turn