aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mlego
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-15 01:42:33 +0000
committerGitHub <[email protected]>2024-03-15 01:42:33 +0000
commit80b72487ce053f128817c5d4c625a63cb3cf9c10 (patch)
treef81c6a7254e9489f36d50f3f451f4421f1bc5a35 /keyboards/mlego
parent539fa21bf80308a21048334909b6512917aa3c7b (diff)
downloadqmk_firmware-80b72487ce053f128817c5d4c625a63cb3cf9c10.tar.gz
qmk_firmware-80b72487ce053f128817c5d4c625a63cb3cf9c10.zip
Migrate features from rules.mk to data drive - LMN (#23277)
Diffstat (limited to 'keyboards/mlego')
-rw-r--r--keyboards/mlego/m48/rev1/keyboard.json (renamed from keyboards/mlego/m48/rev1/info.json)10
-rw-r--r--keyboards/mlego/m48/rev1/rules.mk13
-rw-r--r--keyboards/mlego/m60/rev1/keyboard.json (renamed from keyboards/mlego/m60/rev1/info.json)10
-rw-r--r--keyboards/mlego/m60/rev1/rules.mk14
4 files changed, 20 insertions, 27 deletions
diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/keyboard.json
index a1f42260a2..c8259424f3 100644
--- a/keyboards/mlego/m48/rev1/info.json
+++ b/keyboards/mlego/m48/rev1/keyboard.json
@@ -3,6 +3,16 @@
"pid": "0x6261",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
"rows": ["A6", "A7", "B0", "B10"]
diff --git a/keyboards/mlego/m48/rev1/rules.mk b/keyboards/mlego/m48/rev1/rules.mk
deleted file mode 100644
index 52fd5e68dc..0000000000
--- a/keyboards/mlego/m48/rev1/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 = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes # Enable encoder
diff --git a/keyboards/mlego/m60/rev1/info.json b/keyboards/mlego/m60/rev1/keyboard.json
index 293041db82..989474db83 100644
--- a/keyboards/mlego/m60/rev1/info.json
+++ b/keyboards/mlego/m60/rev1/keyboard.json
@@ -3,6 +3,16 @@
"pid": "0x6161",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
"rows": ["A6", "A7", "B0", "B1", "B10"]
diff --git a/keyboards/mlego/m60/rev1/rules.mk b/keyboards/mlego/m60/rev1/rules.mk
deleted file mode 100644
index a8c86807b4..0000000000
--- a/keyboards/mlego/m60/rev1/rules.mk
+++ /dev/null
@@ -1,14 +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
-ENCODER_ENABLE = yes # Enable encoder