aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/chlx
diff options
context:
space:
mode:
authorJames Young2024-05-20 22:00:35 +0200
committerGitHub2024-05-20 22:00:35 +0200
commit079ac7c1665c292ea086e8457d2a83dad805ea31 (patch)
tree56e494bc819f2253b0a4345182118b907f3ee680 /keyboards/chlx
parentb7b4ffc44974e8f8c65bf54b32a8fc8f1b2ee043 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: A-C, Part 2 (#23746)
Affects: - `chalice` - `charue/sunsetter_r2` - `checkerboards/axon40` - `checkerboards/candybar_ortho` - `checkerboards/g_idb60` - `checkerboards/nop60` - `checkerboards/phoenix45_ortho` - `checkerboards/plexus75` - `checkerboards/plexus75_he` - `checkerboards/pursuit40` - `checkerboards/quark` - `checkerboards/quark_lp` - `checkerboards/quark_plus` - `checkerboards/quark_squared` - `checkerboards/snop60` - `checkerboards/ud40_ortho_alt` - `cheshire/curiosity` - `chickenman/ciel` - `chlx/merro60` - `chlx/str_merro60` - `chosfox/cf81` - `citrus/erdnuss65` - `ckeys/handwire_101` - `ckeys/nakey` - `ckeys/obelus` - `ckeys/thedora` - `ckeys/washington` - `clueboard/2x1800/2018` - `clueboard/2x1800/2021`
Diffstat (limited to 'keyboards/chlx')
-rw-r--r--keyboards/chlx/merro60/config.h5
-rw-r--r--keyboards/chlx/merro60/keyboard.json6
-rw-r--r--keyboards/chlx/str_merro60/config.h5
-rw-r--r--keyboards/chlx/str_merro60/keyboard.json6
4 files changed, 12 insertions, 10 deletions
diff --git a/keyboards/chlx/merro60/config.h b/keyboards/chlx/merro60/config.h
index 18198a8bce..c16e7f09f5 100644
--- a/keyboards/chlx/merro60/config.h
+++ b/keyboards/chlx/merro60/config.h
@@ -17,10 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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
-
/* VIA related config */
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
diff --git a/keyboards/chlx/merro60/keyboard.json b/keyboards/chlx/merro60/keyboard.json
index d34489607a..700af7e7e7 100644
--- a/keyboards/chlx/merro60/keyboard.json
+++ b/keyboards/chlx/merro60/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B7", "D1", "D0", "B0", "B1", "E6", "B2", "B3", "D2", "D7", "B4", "B6", "C6", "C7", "D6"],
"rows": ["D4", "D5", "D3", "B5", "F4"]
diff --git a/keyboards/chlx/str_merro60/config.h b/keyboards/chlx/str_merro60/config.h
index 763f2a4d5c..2e886ebef5 100644
--- a/keyboards/chlx/str_merro60/config.h
+++ b/keyboards/chlx/str_merro60/config.h
@@ -19,10 +19,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5
-/* 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
-
/* VIA related config */
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
diff --git a/keyboards/chlx/str_merro60/keyboard.json b/keyboards/chlx/str_merro60/keyboard.json
index 15903f2f6c..cfd0286dd3 100644
--- a/keyboards/chlx/str_merro60/keyboard.json
+++ b/keyboards/chlx/str_merro60/keyboard.json
@@ -43,6 +43,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layout_aliases": {
"LAYOUT_default": "LAYOUT_all",
"LAYOUT_hhkb": "LAYOUT_60_hhkb",