From 0094a6f571d4ab56e7a4747a35482c5f98e821f3 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 12:34:56 -0700
Subject: [PATCH] Migrate `LOCKING_*_ENABLE` to Data-Driven: S, Part 2 (#23784)
Affects:
- `slz40`
- `smithrune/iron160/iron160_s`
- `smithrune/iron165r2/f072`
- `smithrune/iron165r2/f411`
- `smithrune/iron180`
- `smithrune/iron180v2/v2h`
- `smithrune/iron180v2/v2s`
- `smoll/lefty`
- `snampad`
- `sneakbox/aliceclone`
- `sneakbox/disarray/ortho`
- `sneakbox/disarray/staggered`
- `soup10`
- `soy20`
- `sparrow62`
- `split67`
- `splitish`
- `splitography`
- `star75`
- `stello65/beta`
- `stello65/hs_rev1`
- `stello65/sl_rev1`
- `stenokeyboards/the_uni/pro_micro`
- `stenokeyboards/the_uni/usb_c`
- `strech/soulstone`
- `studiokestra/bourgeau`
- `studiokestra/cascade`
- `studiokestra/frl84`
- `studiokestra/galatea/rev1`
- `studiokestra/galatea/rev2`
- `studiokestra/galatea/rev3`
- `studiokestra/line_friends_tkl`
- `studiokestra/nascent`
- `studiokestra/nue`
- `suavity/ehan`
- `subatomic`
- `switchplate/southpaw_65`
- `switchplate/southpaw_fullsize`
- `switchplate/switchplate910`
- `sx60`
- `system76/launch_1`
---
keyboards/slz40/config.h | 39 -----------------
keyboards/slz40/keyboard.json | 6 +++
.../smithrune/iron160/iron160_s/config.h | 4 --
.../smithrune/iron160/iron160_s/keyboard.json | 6 +++
keyboards/smithrune/iron165r2/config.h | 3 --
.../smithrune/iron165r2/f072/keyboard.json | 6 +++
.../smithrune/iron165r2/f411/keyboard.json | 6 +++
keyboards/smithrune/iron180/config.h | 5 ---
keyboards/smithrune/iron180/keyboard.json | 6 +++
keyboards/smithrune/iron180v2/v2h/config.h | 5 ---
.../smithrune/iron180v2/v2h/keyboard.json | 6 +++
keyboards/smithrune/iron180v2/v2s/config.h | 5 ---
.../smithrune/iron180v2/v2s/keyboard.json | 6 +++
keyboards/smoll/lefty/config.h | 23 ----------
keyboards/smoll/lefty/info.json | 6 +++
keyboards/snampad/config.h | 39 -----------------
keyboards/snampad/keyboard.json | 6 +++
keyboards/sneakbox/aliceclone/config.h | 24 -----------
keyboards/sneakbox/aliceclone/keyboard.json | 6 +++
keyboards/sneakbox/disarray/ortho/config.h | 24 -----------
.../sneakbox/disarray/ortho/keyboard.json | 6 +++
.../sneakbox/disarray/staggered/config.h | 24 -----------
.../sneakbox/disarray/staggered/keyboard.json | 6 +++
keyboards/soup10/config.h | 39 -----------------
keyboards/soup10/keyboard.json | 6 +++
keyboards/soy20/config.h | 23 ----------
keyboards/soy20/keyboard.json | 6 +++
keyboards/sparrow62/config.h | 5 ---
keyboards/sparrow62/keyboard.json | 6 +++
keyboards/split67/config.h | 26 ------------
keyboards/split67/keyboard.json | 8 +++-
keyboards/splitish/config.h | 24 -----------
keyboards/splitish/keyboard.json | 6 +++
keyboards/splitography/config.h | 22 ----------
keyboards/splitography/keyboard.json | 6 +++
keyboards/star75/config.h | 6 ---
keyboards/star75/keyboard.json | 6 +++
keyboards/stello65/beta/config.h | 25 -----------
keyboards/stello65/beta/keyboard.json | 6 +++
keyboards/stello65/hs_rev1/config.h | 25 -----------
keyboards/stello65/hs_rev1/keyboard.json | 6 +++
keyboards/stello65/sl_rev1/config.h | 25 -----------
keyboards/stello65/sl_rev1/keyboard.json | 6 +++
.../stenokeyboards/the_uni/pro_micro/config.h | 24 -----------
.../the_uni/pro_micro/keyboard.json | 6 +++
.../stenokeyboards/the_uni/usb_c/config.h | 24 -----------
.../the_uni/usb_c/keyboard.json | 6 +++
keyboards/strech/soulstone/config.h | 5 ---
keyboards/strech/soulstone/keyboard.json | 6 +++
keyboards/studiokestra/bourgeau/config.h | 28 -------------
keyboards/studiokestra/bourgeau/keyboard.json | 6 +++
keyboards/studiokestra/cascade/config.h | 28 -------------
keyboards/studiokestra/cascade/keyboard.json | 6 +++
keyboards/studiokestra/frl84/config.h | 9 ----
keyboards/studiokestra/frl84/keyboard.json | 6 +++
keyboards/studiokestra/galatea/config.h | 9 ----
.../studiokestra/galatea/rev1/keyboard.json | 6 +++
.../studiokestra/galatea/rev2/keyboard.json | 6 +++
.../studiokestra/galatea/rev3/keyboard.json | 6 +++
.../studiokestra/line_friends_tkl/config.h | 9 ----
.../line_friends_tkl/keyboard.json | 6 +++
keyboards/studiokestra/nascent/config.h | 23 ----------
keyboards/studiokestra/nascent/keyboard.json | 6 +++
keyboards/studiokestra/nue/config.h | 23 ----------
keyboards/studiokestra/nue/keyboard.json | 6 +++
keyboards/suavity/ehan/config.h | 24 -----------
keyboards/suavity/ehan/keyboard.json | 6 +++
keyboards/subatomic/config.h | 42 -------------------
keyboards/subatomic/keyboard.json | 6 +++
keyboards/switchplate/southpaw_65/config.h | 5 ---
.../switchplate/southpaw_65/keyboard.json | 6 +++
.../switchplate/southpaw_fullsize/config.h | 39 -----------------
.../southpaw_fullsize/keyboard.json | 6 +++
keyboards/switchplate/switchplate910/config.h | 39 -----------------
.../switchplate/switchplate910/keyboard.json | 6 +++
keyboards/sx60/config.h | 6 ---
keyboards/sx60/keyboard.json | 6 +++
keyboards/system76/launch_1/config.h | 6 ---
keyboards/system76/launch_1/keyboard.json | 6 +++
79 files changed, 247 insertions(+), 759 deletions(-)
delete mode 100644 keyboards/slz40/config.h
delete mode 100644 keyboards/smoll/lefty/config.h
delete mode 100644 keyboards/snampad/config.h
delete mode 100644 keyboards/sneakbox/aliceclone/config.h
delete mode 100644 keyboards/sneakbox/disarray/ortho/config.h
delete mode 100644 keyboards/sneakbox/disarray/staggered/config.h
delete mode 100644 keyboards/soup10/config.h
delete mode 100644 keyboards/soy20/config.h
delete mode 100644 keyboards/split67/config.h
delete mode 100644 keyboards/splitish/config.h
delete mode 100644 keyboards/splitography/config.h
delete mode 100644 keyboards/stello65/beta/config.h
delete mode 100644 keyboards/stello65/hs_rev1/config.h
delete mode 100644 keyboards/stello65/sl_rev1/config.h
delete mode 100644 keyboards/stenokeyboards/the_uni/pro_micro/config.h
delete mode 100644 keyboards/stenokeyboards/the_uni/usb_c/config.h
delete mode 100644 keyboards/studiokestra/bourgeau/config.h
delete mode 100644 keyboards/studiokestra/cascade/config.h
delete mode 100644 keyboards/studiokestra/frl84/config.h
delete mode 100644 keyboards/studiokestra/galatea/config.h
delete mode 100644 keyboards/studiokestra/line_friends_tkl/config.h
delete mode 100644 keyboards/studiokestra/nascent/config.h
delete mode 100644 keyboards/studiokestra/nue/config.h
delete mode 100644 keyboards/suavity/ehan/config.h
delete mode 100644 keyboards/subatomic/config.h
delete mode 100644 keyboards/switchplate/southpaw_fullsize/config.h
delete mode 100644 keyboards/switchplate/switchplate910/config.h
diff --git a/keyboards/slz40/config.h b/keyboards/slz40/config.h
deleted file mode 100644
index e66e3202cc..0000000000
--- a/keyboards/slz40/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 SithLord
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/slz40/keyboard.json b/keyboards/slz40/keyboard.json
index 97533fd939..138c7d21cf 100644
--- a/keyboards/slz40/keyboard.json
+++ b/keyboards/slz40/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "D2", "F5", "D1", "F6", "D0", "F7", "D4", "B1", "C6", "E6", "D7"],
"rows": ["B4", "B5", "B3", "B2", "B6"]
diff --git a/keyboards/smithrune/iron160/iron160_s/config.h b/keyboards/smithrune/iron160/iron160_s/config.h
index e5da34f312..981a344d68 100644
--- a/keyboards/smithrune/iron160/iron160_s/config.h
+++ b/keyboards/smithrune/iron160/iron160_s/config.h
@@ -20,7 +20,3 @@ along with this program. If not, see .
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 1
-/* 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
diff --git a/keyboards/smithrune/iron160/iron160_s/keyboard.json b/keyboards/smithrune/iron160/iron160_s/keyboard.json
index b2a465399f..d6bf0a43f5 100644
--- a/keyboards/smithrune/iron160/iron160_s/keyboard.json
+++ b/keyboards/smithrune/iron160/iron160_s/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"matrix_pins": {
diff --git a/keyboards/smithrune/iron165r2/config.h b/keyboards/smithrune/iron165r2/config.h
index b803959d13..a3e46ee8d2 100644
--- a/keyboards/smithrune/iron165r2/config.h
+++ b/keyboards/smithrune/iron165r2/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see .
#pragma once
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE
-
//#define ALL_RGBS // Define the RGB option here
//#define LINE_RGBS
//#define RUNE_RGBS
diff --git a/keyboards/smithrune/iron165r2/f072/keyboard.json b/keyboards/smithrune/iron165r2/f072/keyboard.json
index e16493d0b5..b3b307d71c 100644
--- a/keyboards/smithrune/iron165r2/f072/keyboard.json
+++ b/keyboards/smithrune/iron165r2/f072/keyboard.json
@@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "A6",
"levels": 20,
diff --git a/keyboards/smithrune/iron165r2/f411/keyboard.json b/keyboards/smithrune/iron165r2/f411/keyboard.json
index d3d4b3de50..75edab14af 100644
--- a/keyboards/smithrune/iron165r2/f411/keyboard.json
+++ b/keyboards/smithrune/iron165r2/f411/keyboard.json
@@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"eeprom": {
"driver": "i2c"
},
diff --git a/keyboards/smithrune/iron180/config.h b/keyboards/smithrune/iron180/config.h
index 7506922b00..efc249f466 100644
--- a/keyboards/smithrune/iron180/config.h
+++ b/keyboards/smithrune/iron180/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see .
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-/* 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
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/smithrune/iron180/keyboard.json b/keyboards/smithrune/iron180/keyboard.json
index 0a7367649a..b0c6e1a8ff 100644
--- a/keyboards/smithrune/iron180/keyboard.json
+++ b/keyboards/smithrune/iron180/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B7", "B6", "B5", "B4", "B3", "A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B2", "A4", "B1", "A3"],
"rows": ["B9", "B8", "A15", "B0", "A7", "A5"]
diff --git a/keyboards/smithrune/iron180v2/v2h/config.h b/keyboards/smithrune/iron180v2/v2h/config.h
index 1d195c5a45..a3810f7d79 100644
--- a/keyboards/smithrune/iron180v2/v2h/config.h
+++ b/keyboards/smithrune/iron180v2/v2h/config.h
@@ -17,10 +17,5 @@ along with this program. If not, see .
#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 WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/smithrune/iron180v2/v2h/keyboard.json b/keyboards/smithrune/iron180v2/v2h/keyboard.json
index a41c9d7e95..1580a12b8c 100644
--- a/keyboards/smithrune/iron180v2/v2h/keyboard.json
+++ b/keyboards/smithrune/iron180v2/v2h/keyboard.json
@@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"build": {
"lto": true
},
diff --git a/keyboards/smithrune/iron180v2/v2s/config.h b/keyboards/smithrune/iron180v2/v2s/config.h
index bf443b56f1..acd45ba280 100644
--- a/keyboards/smithrune/iron180v2/v2s/config.h
+++ b/keyboards/smithrune/iron180v2/v2s/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see .
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2
-/* 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 WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/smithrune/iron180v2/v2s/keyboard.json b/keyboards/smithrune/iron180v2/v2s/keyboard.json
index 8274415991..f8f27f4cc1 100644
--- a/keyboards/smithrune/iron180v2/v2s/keyboard.json
+++ b/keyboards/smithrune/iron180v2/v2s/keyboard.json
@@ -21,6 +21,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"build": {
"lto": true
},
diff --git a/keyboards/smoll/lefty/config.h b/keyboards/smoll/lefty/config.h
deleted file mode 100644
index b1432e4d87..0000000000
--- a/keyboards/smoll/lefty/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Smoll Chungus (@smollchungus)
-*
-* This program is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 2 of the License, or
-* (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/smoll/lefty/info.json b/keyboards/smoll/lefty/info.json
index 28fa865888..c34e264176 100644
--- a/keyboards/smoll/lefty/info.json
+++ b/keyboards/smoll/lefty/info.json
@@ -15,6 +15,12 @@
"nkro": false,
"oled": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"usb": {
"vid": "0x5363",
"pid": "0x0001",
diff --git a/keyboards/snampad/config.h b/keyboards/snampad/config.h
deleted file mode 100644
index 63349588ec..0000000000
--- a/keyboards/snampad/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Peter Tillemans
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/snampad/keyboard.json b/keyboards/snampad/keyboard.json
index a5ea2cda2f..e2a269d5c7 100644
--- a/keyboards/snampad/keyboard.json
+++ b/keyboards/snampad/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3"],
"rows": ["F4", "F5", "F6", "F7", "B1", "B3"]
diff --git a/keyboards/sneakbox/aliceclone/config.h b/keyboards/sneakbox/aliceclone/config.h
deleted file mode 100644
index 7c7cad2390..0000000000
--- a/keyboards/sneakbox/aliceclone/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 Bryan Ong
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/sneakbox/aliceclone/keyboard.json b/keyboards/sneakbox/aliceclone/keyboard.json
index 0e134c84d4..869b8bd20b 100644
--- a/keyboards/sneakbox/aliceclone/keyboard.json
+++ b/keyboards/sneakbox/aliceclone/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "D0", "C7", "C6", "B6", "B5", "B4", "D1"],
"rows": ["F1", "E6", "F4", "B1", "F5", "B2", "F6", "B3", "F7", "B7"]
diff --git a/keyboards/sneakbox/disarray/ortho/config.h b/keyboards/sneakbox/disarray/ortho/config.h
deleted file mode 100644
index 25382dd5f1..0000000000
--- a/keyboards/sneakbox/disarray/ortho/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Bryan Ong
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/sneakbox/disarray/ortho/keyboard.json b/keyboards/sneakbox/disarray/ortho/keyboard.json
index 49a321a2da..31a201e0d2 100644
--- a/keyboards/sneakbox/disarray/ortho/keyboard.json
+++ b/keyboards/sneakbox/disarray/ortho/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
"rows": ["B7", "D0", "D1", "D2", "D3", "B0"]
diff --git a/keyboards/sneakbox/disarray/staggered/config.h b/keyboards/sneakbox/disarray/staggered/config.h
deleted file mode 100644
index 25382dd5f1..0000000000
--- a/keyboards/sneakbox/disarray/staggered/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Bryan Ong
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/sneakbox/disarray/staggered/keyboard.json b/keyboards/sneakbox/disarray/staggered/keyboard.json
index 01334273e4..4631795130 100644
--- a/keyboards/sneakbox/disarray/staggered/keyboard.json
+++ b/keyboards/sneakbox/disarray/staggered/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "E6"],
"rows": ["B7", "D0", "D1", "D2", "D3"]
diff --git a/keyboards/soup10/config.h b/keyboards/soup10/config.h
deleted file mode 100644
index f479b15794..0000000000
--- a/keyboards/soup10/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 icesoup
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/soup10/keyboard.json b/keyboards/soup10/keyboard.json
index b2ec4968e0..f4e1947652 100644
--- a/keyboards/soup10/keyboard.json
+++ b/keyboards/soup10/keyboard.json
@@ -19,6 +19,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D7", "E6", "B4"],
"rows": ["D1", "D0", "D4", "C6"]
diff --git a/keyboards/soy20/config.h b/keyboards/soy20/config.h
deleted file mode 100644
index 14fc40cd62..0000000000
--- a/keyboards/soy20/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Soy20 PCB}}
-Copyright (C) {{ 2020 }} {{ Drewkeys }}
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .*/
-
-#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
diff --git a/keyboards/soy20/keyboard.json b/keyboards/soy20/keyboard.json
index e5c4499af5..77524eff6c 100644
--- a/keyboards/soy20/keyboard.json
+++ b/keyboards/soy20/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "B6", "B7", "C7"],
"rows": ["B0", "B1", "B2", "B3", "B4"]
diff --git a/keyboards/sparrow62/config.h b/keyboards/sparrow62/config.h
index 3f234d31cb..2b9669e938 100644
--- a/keyboards/sparrow62/config.h
+++ b/keyboards/sparrow62/config.h
@@ -18,8 +18,3 @@ along with this program. If not, see .
#pragma once
#define SPLIT_HAND_PIN F4
-
-/* 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
diff --git a/keyboards/sparrow62/keyboard.json b/keyboards/sparrow62/keyboard.json
index e551bb4851..796d18b9bb 100644
--- a/keyboards/sparrow62/keyboard.json
+++ b/keyboards/sparrow62/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["C6", "D7", "E6", "B4", "B5"]
diff --git a/keyboards/split67/config.h b/keyboards/split67/config.h
deleted file mode 100644
index 9d50d9bdd1..0000000000
--- a/keyboards/split67/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-Copyright 2012 Jun Wako
-Copyright 2015 Jack Humbert
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-
-
diff --git a/keyboards/split67/keyboard.json b/keyboards/split67/keyboard.json
index f24eea4ce0..f9a3632c01 100644
--- a/keyboards/split67/keyboard.json
+++ b/keyboards/split67/keyboard.json
@@ -15,6 +15,12 @@
"extrakey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6", null, null],
"rows": ["D4", "C6", "D7", "E6", "B4"]
@@ -108,4 +114,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/keyboards/splitish/config.h b/keyboards/splitish/config.h
deleted file mode 100644
index f3fe3850d7..0000000000
--- a/keyboards/splitish/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2019 Reid Schneyer
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-#define LOCKING_SUPPORT_ENABLE
-
-#define LOCKING_RESYNC_ENABLE
-
-
diff --git a/keyboards/splitish/keyboard.json b/keyboards/splitish/keyboard.json
index 0804317371..3df635e6bc 100644
--- a/keyboards/splitish/keyboard.json
+++ b/keyboards/splitish/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "C6", "D4", "D0", "D1", "D2", "D3"],
"rows": ["B4", "B5", "B2", "B6"]
diff --git a/keyboards/splitography/config.h b/keyboards/splitography/config.h
deleted file mode 100644
index d01dd17a18..0000000000
--- a/keyboards/splitography/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Alexis Jeandeau
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-#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
diff --git a/keyboards/splitography/keyboard.json b/keyboards/splitography/keyboard.json
index 3805f1ca2b..947622096c 100644
--- a/keyboards/splitography/keyboard.json
+++ b/keyboards/splitography/keyboard.json
@@ -13,6 +13,12 @@
"console": false,
"command": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"rows": ["D0", "D1", "D2", "D3"],
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7"]
diff --git a/keyboards/star75/config.h b/keyboards/star75/config.h
index 056ee84a8f..65d751197a 100644
--- a/keyboards/star75/config.h
+++ b/keyboards/star75/config.h
@@ -3,11 +3,5 @@ Copyright 2022 Horns Lyn (@hornslyn)
SPDX-License-Identifier: GPL-2.0-or-later */
#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 RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
diff --git a/keyboards/star75/keyboard.json b/keyboards/star75/keyboard.json
index 5abd5a57b9..e4ea684a0f 100644
--- a/keyboards/star75/keyboard.json
+++ b/keyboards/star75/keyboard.json
@@ -42,6 +42,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
"rows": ["B7", "D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/stello65/beta/config.h b/keyboards/stello65/beta/config.h
deleted file mode 100644
index a1ac3b7b2a..0000000000
--- a/keyboards/stello65/beta/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2021 @wekey (@@wekey)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/stello65/beta/keyboard.json b/keyboards/stello65/beta/keyboard.json
index 230cc6ff00..5dbc3b1338 100644
--- a/keyboards/stello65/beta/keyboard.json
+++ b/keyboards/stello65/beta/keyboard.json
@@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"],
"rows": ["F0", "E6", "D0", "D1", "C6", "F7", "F6", "F5", "F4", "F1"]
diff --git a/keyboards/stello65/hs_rev1/config.h b/keyboards/stello65/hs_rev1/config.h
deleted file mode 100644
index 81fc04139c..0000000000
--- a/keyboards/stello65/hs_rev1/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2022 @wekey (@wekey)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/stello65/hs_rev1/keyboard.json b/keyboards/stello65/hs_rev1/keyboard.json
index ebda63da6d..783b73c599 100644
--- a/keyboards/stello65/hs_rev1/keyboard.json
+++ b/keyboards/stello65/hs_rev1/keyboard.json
@@ -35,6 +35,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"],
"rows": ["F1", "F0", "D1", "D2", "B6", "C6", "C7", "F7", "F6", "F5"]
diff --git a/keyboards/stello65/sl_rev1/config.h b/keyboards/stello65/sl_rev1/config.h
deleted file mode 100644
index 81fc04139c..0000000000
--- a/keyboards/stello65/sl_rev1/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2022 @wekey (@wekey)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/stello65/sl_rev1/keyboard.json b/keyboards/stello65/sl_rev1/keyboard.json
index 9204986cd1..8be7b07d0a 100644
--- a/keyboards/stello65/sl_rev1/keyboard.json
+++ b/keyboards/stello65/sl_rev1/keyboard.json
@@ -35,6 +35,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "B4", "D7", "D6", "D4", "D5", "D3", "D2"],
"rows": ["F0", "E6", "D0", "D1", "C6", "F7", "F6", "F5", "F4", "F1"]
diff --git a/keyboards/stenokeyboards/the_uni/pro_micro/config.h b/keyboards/stenokeyboards/the_uni/pro_micro/config.h
deleted file mode 100644
index a527c07796..0000000000
--- a/keyboards/stenokeyboards/the_uni/pro_micro/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Peter C. Park
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json b/keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json
index f14728b577..03466935b0 100644
--- a/keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json
+++ b/keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json
@@ -12,6 +12,12 @@
"nkro": true,
"steno": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B5", "B4", "E6", "D7", "C6", "D4"],
"rows": ["F4", "B2", "B6"]
diff --git a/keyboards/stenokeyboards/the_uni/usb_c/config.h b/keyboards/stenokeyboards/the_uni/usb_c/config.h
deleted file mode 100644
index a527c07796..0000000000
--- a/keyboards/stenokeyboards/the_uni/usb_c/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Peter C. Park
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/stenokeyboards/the_uni/usb_c/keyboard.json b/keyboards/stenokeyboards/the_uni/usb_c/keyboard.json
index 5226fb0a8e..efe3b979be 100644
--- a/keyboards/stenokeyboards/the_uni/usb_c/keyboard.json
+++ b/keyboards/stenokeyboards/the_uni/usb_c/keyboard.json
@@ -12,6 +12,12 @@
"nkro": true,
"steno": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "D5", "D3", "D2", "D1", "D0", "D4"],
"rows": ["B7", "D6", "C7"]
diff --git a/keyboards/strech/soulstone/config.h b/keyboards/strech/soulstone/config.h
index 425546d77e..98c17fbee2 100644
--- a/keyboards/strech/soulstone/config.h
+++ b/keyboards/strech/soulstone/config.h
@@ -16,9 +16,4 @@
#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 LAYER_INDICATOR_LED_PIN B3
diff --git a/keyboards/strech/soulstone/keyboard.json b/keyboards/strech/soulstone/keyboard.json
index 53037d1460..32671eba11 100644
--- a/keyboards/strech/soulstone/keyboard.json
+++ b/keyboards/strech/soulstone/keyboard.json
@@ -17,6 +17,12 @@
"command": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["B7", "F1", "B0", "F4", "E6", "F0", "D5", "D3", "D2", "D1", "B4", "D7", "D6"],
diff --git a/keyboards/studiokestra/bourgeau/config.h b/keyboards/studiokestra/bourgeau/config.h
deleted file mode 100644
index 91e152a098..0000000000
--- a/keyboards/studiokestra/bourgeau/config.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-Copyright 2021 Studio Kestra
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/studiokestra/bourgeau/keyboard.json b/keyboards/studiokestra/bourgeau/keyboard.json
index 22cc609536..3e0111a618 100644
--- a/keyboards/studiokestra/bourgeau/keyboard.json
+++ b/keyboards/studiokestra/bourgeau/keyboard.json
@@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B0", "D2", "D1", "D0", "D3", "B6", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B5", "B4"],
"rows": ["D4", "D6", "D7", "D5", "B1", "F0"]
diff --git a/keyboards/studiokestra/cascade/config.h b/keyboards/studiokestra/cascade/config.h
deleted file mode 100644
index 91e152a098..0000000000
--- a/keyboards/studiokestra/cascade/config.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-Copyright 2021 Studio Kestra
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/studiokestra/cascade/keyboard.json b/keyboards/studiokestra/cascade/keyboard.json
index f6d95261ac..962276e62a 100644
--- a/keyboards/studiokestra/cascade/keyboard.json
+++ b/keyboards/studiokestra/cascade/keyboard.json
@@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "D5", "D1", "D0", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D6", "D7"],
"rows": ["F0", "B1", "D4", "F4", "F1"]
diff --git a/keyboards/studiokestra/frl84/config.h b/keyboards/studiokestra/frl84/config.h
deleted file mode 100644
index 70ff15e35c..0000000000
--- a/keyboards/studiokestra/frl84/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2023 Studio Kestra
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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
diff --git a/keyboards/studiokestra/frl84/keyboard.json b/keyboards/studiokestra/frl84/keyboard.json
index c0b05dec46..d131b09eac 100644
--- a/keyboards/studiokestra/frl84/keyboard.json
+++ b/keyboards/studiokestra/frl84/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D3", "D5", "D0", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["D6", "D4", "B4", "D7", "B6", "B5", "C7", "C6", "D2", "D1"]
diff --git a/keyboards/studiokestra/galatea/config.h b/keyboards/studiokestra/galatea/config.h
deleted file mode 100644
index c37d8a5ad2..0000000000
--- a/keyboards/studiokestra/galatea/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2023 studiokestra (@studiokestra)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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
diff --git a/keyboards/studiokestra/galatea/rev1/keyboard.json b/keyboards/studiokestra/galatea/rev1/keyboard.json
index dcc7898f61..ff2adbce4d 100644
--- a/keyboards/studiokestra/galatea/rev1/keyboard.json
+++ b/keyboards/studiokestra/galatea/rev1/keyboard.json
@@ -12,6 +12,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B2", "D5"],
"rows": ["D1", "D0", "B0", "B7", "E6", "B3", "B6", "C6", "D6", "D7", "B4", "D3"]
diff --git a/keyboards/studiokestra/galatea/rev2/keyboard.json b/keyboards/studiokestra/galatea/rev2/keyboard.json
index 5c1363f750..115b5684cd 100644
--- a/keyboards/studiokestra/galatea/rev2/keyboard.json
+++ b/keyboards/studiokestra/galatea/rev2/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B2", "D5"],
"rows": ["D1", "D0", "B0", "B7", "E6", "B3", "B6", "C6", "D6", "D7", "B4", "D3"]
diff --git a/keyboards/studiokestra/galatea/rev3/keyboard.json b/keyboards/studiokestra/galatea/rev3/keyboard.json
index 1669e3a183..a4b07bb4df 100644
--- a/keyboards/studiokestra/galatea/rev3/keyboard.json
+++ b/keyboards/studiokestra/galatea/rev3/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["GP28", "GP27", "GP26", "GP25", "GP24", "GP23", "GP22", "GP14", "GP6"],
"rows": ["GP3", "GP4", "GP1", "GP2", "GP5", "GP29", "GP20", "GP19", "GP17", "GP16", "GP13", "GP12"]
diff --git a/keyboards/studiokestra/line_friends_tkl/config.h b/keyboards/studiokestra/line_friends_tkl/config.h
deleted file mode 100644
index c37d8a5ad2..0000000000
--- a/keyboards/studiokestra/line_friends_tkl/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2023 studiokestra (@studiokestra)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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
diff --git a/keyboards/studiokestra/line_friends_tkl/keyboard.json b/keyboards/studiokestra/line_friends_tkl/keyboard.json
index 9c2db93a92..d8902e2a2f 100644
--- a/keyboards/studiokestra/line_friends_tkl/keyboard.json
+++ b/keyboards/studiokestra/line_friends_tkl/keyboard.json
@@ -12,6 +12,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"caps_lock": "B6",
"on_state": 1,
diff --git a/keyboards/studiokestra/nascent/config.h b/keyboards/studiokestra/nascent/config.h
deleted file mode 100644
index f1b419a3e2..0000000000
--- a/keyboards/studiokestra/nascent/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2022 Studio Kestra
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/studiokestra/nascent/keyboard.json b/keyboards/studiokestra/nascent/keyboard.json
index c2b14a71bc..f411859acc 100644
--- a/keyboards/studiokestra/nascent/keyboard.json
+++ b/keyboards/studiokestra/nascent/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D3", "D7", "D6", "D4", "D5", "B0", "E6"],
"rows": ["F5", "F4", "F7", "F6", "C6", "C7", "B4", "B5", "D0", "D1"]
diff --git a/keyboards/studiokestra/nue/config.h b/keyboards/studiokestra/nue/config.h
deleted file mode 100644
index e2d4270dd6..0000000000
--- a/keyboards/studiokestra/nue/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2021 Studio Kestra
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
diff --git a/keyboards/studiokestra/nue/keyboard.json b/keyboards/studiokestra/nue/keyboard.json
index ffd5581fee..a98d838248 100644
--- a/keyboards/studiokestra/nue/keyboard.json
+++ b/keyboards/studiokestra/nue/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F6", "F7", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
"rows": ["B0", "B7", "F1", "F5", "F4"]
diff --git a/keyboards/suavity/ehan/config.h b/keyboards/suavity/ehan/config.h
deleted file mode 100644
index befff72ca8..0000000000
--- a/keyboards/suavity/ehan/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Suavity Designs
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
diff --git a/keyboards/suavity/ehan/keyboard.json b/keyboards/suavity/ehan/keyboard.json
index a025ec4992..5a6675bfc3 100755
--- a/keyboards/suavity/ehan/keyboard.json
+++ b/keyboards/suavity/ehan/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "C14", "B7", "B6", "B5", "B4", "B3", "A15", "C13", "B9", "B8"],
"rows": ["A7", "B0", "A3", "A4", "A5", "A6"]
diff --git a/keyboards/subatomic/config.h b/keyboards/subatomic/config.h
deleted file mode 100644
index b0c6bce36a..0000000000
--- a/keyboards/subatomic/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright 2012 Jun Wako
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-// #define AUDIO_VOICES
-// #define AUDIO_PIN C6
-
-/* 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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-// #define NO_DEBUG
-
-/* disable print */
-// #define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/subatomic/keyboard.json b/keyboards/subatomic/keyboard.json
index 64f254a087..0816130bbb 100644
--- a/keyboards/subatomic/keyboard.json
+++ b/keyboards/subatomic/keyboard.json
@@ -18,6 +18,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7", "C6", "C5"],
"rows": ["D2", "D5", "B5", "B6", "D3"]
diff --git a/keyboards/switchplate/southpaw_65/config.h b/keyboards/switchplate/southpaw_65/config.h
index 8fe96fc5dd..a4d8996af9 100644
--- a/keyboards/switchplate/southpaw_65/config.h
+++ b/keyboards/switchplate/southpaw_65/config.h
@@ -21,11 +21,6 @@
#define MATRIX_ROWS 5
#define MATRIX_COLS 19
-/* 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
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/switchplate/southpaw_65/keyboard.json b/keyboards/switchplate/southpaw_65/keyboard.json
index fd879349f2..e4090e49c7 100644
--- a/keyboards/switchplate/southpaw_65/keyboard.json
+++ b/keyboards/switchplate/southpaw_65/keyboard.json
@@ -19,6 +19,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "B5",
"levels": 10
diff --git a/keyboards/switchplate/southpaw_fullsize/config.h b/keyboards/switchplate/southpaw_fullsize/config.h
deleted file mode 100644
index 8abadb9522..0000000000
--- a/keyboards/switchplate/southpaw_fullsize/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Ryota Goto
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/switchplate/southpaw_fullsize/keyboard.json b/keyboards/switchplate/southpaw_fullsize/keyboard.json
index 822fc66081..ad897821c3 100644
--- a/keyboards/switchplate/southpaw_fullsize/keyboard.json
+++ b/keyboards/switchplate/southpaw_fullsize/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A7", "C7", "C6", "C5", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "E0", "D7", "D6"],
"rows": ["E1", "C0", "C1", "C2", "C3", "C4"]
diff --git a/keyboards/switchplate/switchplate910/config.h b/keyboards/switchplate/switchplate910/config.h
deleted file mode 100644
index ef90a43c6f..0000000000
--- a/keyboards/switchplate/switchplate910/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Stefan Karsch
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/switchplate/switchplate910/keyboard.json b/keyboards/switchplate/switchplate910/keyboard.json
index 40a2a24637..47353fe81e 100644
--- a/keyboards/switchplate/switchplate910/keyboard.json
+++ b/keyboards/switchplate/switchplate910/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "B3", "B2", "B0", "B1"],
"rows": ["F4", "F5", "F6", "F7", "D1"]
diff --git a/keyboards/sx60/config.h b/keyboards/sx60/config.h
index 46921665c9..a37aeb6a7b 100755
--- a/keyboards/sx60/config.h
+++ b/keyboards/sx60/config.h
@@ -31,9 +31,3 @@ along with this program. If not, see .
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-/* 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
diff --git a/keyboards/sx60/keyboard.json b/keyboards/sx60/keyboard.json
index 42eefbc81a..ba5b439cec 100644
--- a/keyboards/sx60/keyboard.json
+++ b/keyboards/sx60/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "B7"
},
diff --git a/keyboards/system76/launch_1/config.h b/keyboards/system76/launch_1/config.h
index 986a4db76e..7e7fa9be9c 100644
--- a/keyboards/system76/launch_1/config.h
+++ b/keyboards/system76/launch_1/config.h
@@ -19,12 +19,6 @@
#define RGB_MATRIX_DISABLE_KEYCODES // Disables control of rgb matrix by keycodes (must use code functions to control the feature)
-// 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
-
// I2C {
#define F_SCL 100000UL // Run I2C bus at 100 kHz
#define I2C_START_RETRY_COUNT 20
diff --git a/keyboards/system76/launch_1/keyboard.json b/keyboards/system76/launch_1/keyboard.json
index 28a505448e..929b8c9794 100644
--- a/keyboards/system76/launch_1/keyboard.json
+++ b/keyboards/system76/launch_1/keyboard.json
@@ -19,6 +19,12 @@
"raw": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"ws2812": {
"pin": "E2"
},