aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechkeys
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-04-26 19:17:40 -0700
committerGitHub <[email protected]>2024-04-27 03:17:40 +0100
commit0ab77cf2e5b8edd78d3ad7bba0f0326bf934ab39 (patch)
tree123d357550e6d48c0ea355cea0184247a6ccf6fd /keyboards/mechkeys
parent82f7e7d7fec52824fa819241a4905240743c98c1 (diff)
downloadqmk_firmware-0ab77cf2e5b8edd78d3ad7bba0f0326bf934ab39.tar.gz
qmk_firmware-0ab77cf2e5b8edd78d3ad7bba0f0326bf934ab39.zip
Data-Driven Keyboard Conversions: M, Part 2 (#23601)
Diffstat (limited to 'keyboards/mechkeys')
-rw-r--r--keyboards/mechkeys/mechmini/v1/keyboard.json (renamed from keyboards/mechkeys/mechmini/v1/info.json)8
-rw-r--r--keyboards/mechkeys/mechmini/v1/rules.mk10
-rw-r--r--keyboards/mechkeys/mechmini/v2/keyboard.json (renamed from keyboards/mechkeys/mechmini/v2/info.json)8
-rwxr-xr-xkeyboards/mechkeys/mechmini/v2/rules.mk12
4 files changed, 16 insertions, 22 deletions
diff --git a/keyboards/mechkeys/mechmini/v1/info.json b/keyboards/mechkeys/mechmini/v1/keyboard.json
index 7dda26af25..8d3a4a9b84 100644
--- a/keyboards/mechkeys/mechmini/v1/info.json
+++ b/keyboards/mechkeys/mechmini/v1/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0xCA40",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "command": true,
+ "backlight": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4"],
"rows": ["B0", "B1", "B2", "B3"]
diff --git a/keyboards/mechkeys/mechmini/v1/rules.mk b/keyboards/mechkeys/mechmini/v1/rules.mk
deleted file mode 100644
index e1dfc31721..0000000000
--- a/keyboards/mechkeys/mechmini/v1/rules.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-CONSOLE_ENABLE = no
-COMMAND_ENABLE = yes
-BACKLIGHT_ENABLE = yes
-RGBLIGHT_ENABLE = yes
diff --git a/keyboards/mechkeys/mechmini/v2/info.json b/keyboards/mechkeys/mechmini/v2/keyboard.json
index 26d0b93000..da53e84203 100644
--- a/keyboards/mechkeys/mechmini/v2/info.json
+++ b/keyboards/mechkeys/mechmini/v2/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0xCA40",
"device_version": "0.0.2"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": false,
+ "extrakey": true,
+ "nkro": true,
+ "backlight": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B3", "B1", "B0", "D5", "B7", "C7"],
"rows": ["D0", "D1", "D2", "D3"]
diff --git a/keyboards/mechkeys/mechmini/v2/rules.mk b/keyboards/mechkeys/mechmini/v2/rules.mk
deleted file mode 100755
index 3a899c4650..0000000000
--- a/keyboards/mechkeys/mechmini/v2/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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = yes