aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/mt/mt40
diff options
context:
space:
mode:
authorJoel Challis2024-03-15 02:42:33 +0100
committerGitHub2024-03-15 02:42:33 +0100
commit80b72487ce053f128817c5d4c625a63cb3cf9c10 (patch)
treef81c6a7254e9489f36d50f3f451f4421f1bc5a35 /keyboards/mt/mt40
parent539fa21bf80308a21048334909b6512917aa3c7b (diff)
Migrate features from rules.mk to data drive - LMN (#23277)
Diffstat (limited to 'keyboards/mt/mt40')
-rw-r--r--keyboards/mt/mt40/keyboard.json (renamed from keyboards/mt/mt40/info.json)10
-rw-r--r--keyboards/mt/mt40/rules.mk12
2 files changed, 10 insertions, 12 deletions
diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/keyboard.json
index 83980bf794..d1700389f7 100644
--- a/keyboards/mt/mt40/info.json
+++ b/keyboards/mt/mt40/keyboard.json
@@ -8,6 +8,16 @@
"pid": "0x422D",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
"rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B7"]
diff --git a/keyboards/mt/mt40/rules.mk b/keyboards/mt/mt40/rules.mk
deleted file mode 100644
index 5aa98ed4d8..0000000000
--- a/keyboards/mt/mt40/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 = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.