aboutsummaryrefslogtreecommitdiff
path: root/keyboards/monsgeek
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-22 03:13:39 -0700
committerGitHub <[email protected]>2024-05-22 11:13:39 +0100
commit495e83b30f86a2ce4511f84f2e9cefb8e7f99136 (patch)
tree744ccbd0502b95dbe95f5d263fc41c9d62b6de3c /keyboards/monsgeek
parentd1547320a0236eff98906f908224fe0d46b4b0e5 (diff)
downloadqmk_firmware-495e83b30f86a2ce4511f84f2e9cefb8e7f99136.tar.gz
qmk_firmware-495e83b30f86a2ce4511f84f2e9cefb8e7f99136.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: M, Part 2 (#23773)
Affects: - `mkh_studio/bully` - `mlego/m48/rev1` - `mlego/m60/rev1` - `mlego/m60_split/rev1` - `mlego/m60_split/rev2` - `mntre` - `mode/m65ha_alpha` - `mode/m65hi_alpha` - `mode/m65s` - `mode/m80v1/m80h` - `mode/m80v1/m80s` - `mode/m80v2/m80v2h` - `mode/m80v2/m80v2s` - `molecule` - `momoka_ergo` - `monarch` - `monsgeek/m1` - `monsgeek/m3` - `monsgeek/m5` - `monsgeek/m6` - `monstargear/xo87/rgb` - `monstargear/xo87/solderable` - `montsinger/rebound/rev1` - `montsinger/rebound/rev2` - `montsinger/rebound/rev3` - `montsinger/rebound/rev4` - `montsinger/rewind` - `moon` - `morizon` - `mountainblocks/mb17` - `mt/blocked65` - `mt/mt64rgb` - `mt/mt980` - `mtbkeys/mtb60/hotswap` - `mtbkeys/mtb60/solder` - `murcielago/rev1` - `mxss` - `mysticworks/wyvern`
Diffstat (limited to 'keyboards/monsgeek')
-rw-r--r--keyboards/monsgeek/m1/config.h5
-rw-r--r--keyboards/monsgeek/m1/keyboard.json6
-rw-r--r--keyboards/monsgeek/m3/config.h5
-rw-r--r--keyboards/monsgeek/m3/keyboard.json6
-rw-r--r--keyboards/monsgeek/m5/config.h5
-rw-r--r--keyboards/monsgeek/m5/keyboard.json6
-rw-r--r--keyboards/monsgeek/m6/config.h5
-rw-r--r--keyboards/monsgeek/m6/keyboard.json6
8 files changed, 24 insertions, 20 deletions
diff --git a/keyboards/monsgeek/m1/config.h b/keyboards/monsgeek/m1/config.h
index 4aa6012330..4b6f30ded3 100644
--- a/keyboards/monsgeek/m1/config.h
+++ b/keyboards/monsgeek/m1/config.h
@@ -16,11 +16,6 @@
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define ENCODER_DEFAULT_POS 0x3
/* SPI Config for spi flash*/
diff --git a/keyboards/monsgeek/m1/keyboard.json b/keyboards/monsgeek/m1/keyboard.json
index 5d5d030214..1551b2a113 100644
--- a/keyboards/monsgeek/m1/keyboard.json
+++ b/keyboards/monsgeek/m1/keyboard.json
@@ -21,6 +21,12 @@
"encoder": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
diff --git a/keyboards/monsgeek/m3/config.h b/keyboards/monsgeek/m3/config.h
index ba77115d40..c179436ca7 100644
--- a/keyboards/monsgeek/m3/config.h
+++ b/keyboards/monsgeek/m3/config.h
@@ -20,11 +20,6 @@
#define LED_MAC_OS_PIN C10
#define LED_WIN_LOCK_PIN C11
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/* SPI Config for spi flash*/
#define SPI_DRIVER SPIDQ
#define SPI_SCK_PIN B3
diff --git a/keyboards/monsgeek/m3/keyboard.json b/keyboards/monsgeek/m3/keyboard.json
index 09ce11c447..cb7c3abf21 100644
--- a/keyboards/monsgeek/m3/keyboard.json
+++ b/keyboards/monsgeek/m3/keyboard.json
@@ -26,6 +26,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"dynamic_keymap": {
"layer_count": 6
},
diff --git a/keyboards/monsgeek/m5/config.h b/keyboards/monsgeek/m5/config.h
index d18d1fdacd..f7cedc4d41 100644
--- a/keyboards/monsgeek/m5/config.h
+++ b/keyboards/monsgeek/m5/config.h
@@ -19,11 +19,6 @@
/* LED Indicators */
#define LED_WIN_LOCK_PIN C11
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/* SPI Config for spi flash*/
#define SPI_DRIVER SPIDQ
#define SPI_SCK_PIN B3
diff --git a/keyboards/monsgeek/m5/keyboard.json b/keyboards/monsgeek/m5/keyboard.json
index 77d474d5db..b9ef0099bc 100644
--- a/keyboards/monsgeek/m5/keyboard.json
+++ b/keyboards/monsgeek/m5/keyboard.json
@@ -20,6 +20,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C1","C2","C3","A0","A1","A2","A3","A4","A5","A6","A7","C4","C5","B0","B1","B2","B10","B11","B12","B13","B14"],
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
diff --git a/keyboards/monsgeek/m6/config.h b/keyboards/monsgeek/m6/config.h
index 3586c2cb46..d5131a1bb2 100644
--- a/keyboards/monsgeek/m6/config.h
+++ b/keyboards/monsgeek/m6/config.h
@@ -16,11 +16,6 @@
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/* SPI Config for spi flash*/
#define SPI_DRIVER SPIDQ
#define SPI_SCK_PIN B3
diff --git a/keyboards/monsgeek/m6/keyboard.json b/keyboards/monsgeek/m6/keyboard.json
index 7931d0d122..12d7def4c7 100644
--- a/keyboards/monsgeek/m6/keyboard.json
+++ b/keyboards/monsgeek/m6/keyboard.json
@@ -20,6 +20,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
"rows": ["C6", "C7", "C8", "C9", "A8"]