From 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 19:14:15 -0700
Subject: [PATCH] Migrate `LOCKING_*_ENABLE` to Data-Driven: X-Z (#23790)
Affects:
- `x16`
- `xelus/akis`
- `xelus/dharma`
- `xelus/kangaroo/rev1`
- `xelus/kangaroo/rev2`
- `xelus/ninjin`
- `xelus/pachi/mini_32u4`
- `xelus/pachi/rev1`
- `xelus/snap96`
- `xelus/xs108`
- `xiudi/xd60/rev2`
- `xiudi/xd60/rev3`
- `xiudi/xd68`
- `xiudi/xd75`
- `xiudi/xd84pro`
- `xiudi/xd87`
- `xmmx`
- `ydkb/chili`
- `ydkb/grape`
- `ydkb/just60`
- `yiancardesigns/barleycorn`
- `yiancardesigns/gingham`
- `yiancardesigns/seigaiha`
- `ymdk/melody96/soldered`
- `ymdk/np21`
- `ymdk/yd60mq`
- `ymdk/ymd09`
- `ymdk/ymd67`
- `yoichiro/lunakey_mini`
- `yushakobo/quick7`
- `yynmt/acperience12/rev1`
- `yynmt/dozen0`
- `yynmt/kagamidget`
- `zigotica/z12`
- `zigotica/z34`
- `zj68`
- `zlant`
- `zoo/wampus`
- `zsa/moonlander`
- `ztboards/after`
- `ztboards/noon`
---
keyboards/x16/config.h | 38 ------------------
keyboards/x16/keyboard.json | 6 +++
keyboards/xelus/akis/config.h | 23 -----------
keyboards/xelus/akis/keyboard.json | 6 +++
keyboards/xelus/dharma/config.h | 23 -----------
keyboards/xelus/dharma/keyboard.json | 6 +++
keyboards/xelus/kangaroo/rev1/config.h | 5 ---
keyboards/xelus/kangaroo/rev1/keyboard.json | 6 +++
keyboards/xelus/kangaroo/rev2/config.h | 22 -----------
keyboards/xelus/kangaroo/rev2/keyboard.json | 6 +++
keyboards/xelus/ninjin/config.h | 6 ---
keyboards/xelus/ninjin/keyboard.json | 6 +++
keyboards/xelus/pachi/mini_32u4/config.h | 22 -----------
keyboards/xelus/pachi/mini_32u4/keyboard.json | 6 +++
keyboards/xelus/pachi/rev1/config.h | 22 -----------
keyboards/xelus/pachi/rev1/keyboard.json | 6 +++
keyboards/xelus/snap96/config.h | 6 ---
keyboards/xelus/snap96/keyboard.json | 6 +++
keyboards/xelus/xs108/config.h | 5 ---
keyboards/xelus/xs108/keyboard.json | 6 +++
keyboards/xiudi/xd60/rev2/config.h | 23 -----------
keyboards/xiudi/xd60/rev2/keyboard.json | 6 +++
keyboards/xiudi/xd60/rev3/config.h | 23 -----------
keyboards/xiudi/xd60/rev3/keyboard.json | 6 +++
keyboards/xiudi/xd68/config.h | 39 -------------------
keyboards/xiudi/xd68/keyboard.json | 6 +++
keyboards/xiudi/xd75/config.h | 39 -------------------
keyboards/xiudi/xd75/keyboard.json | 6 +++
keyboards/xiudi/xd84pro/config.h | 22 -----------
keyboards/xiudi/xd84pro/keyboard.json | 6 +++
keyboards/xiudi/xd87/config.h | 39 -------------------
keyboards/xiudi/xd87/keyboard.json | 6 +++
keyboards/xmmx/config.h | 7 ----
keyboards/xmmx/keyboard.json | 6 +++
keyboards/ydkb/chili/config.h | 39 -------------------
keyboards/ydkb/chili/keyboard.json | 6 +++
keyboards/ydkb/grape/config.h | 5 ---
keyboards/ydkb/grape/keyboard.json | 6 +++
keyboards/ydkb/just60/config.h | 23 -----------
keyboards/ydkb/just60/keyboard.json | 6 +++
keyboards/yiancardesigns/barleycorn/config.h | 5 ---
.../yiancardesigns/barleycorn/keyboard.json | 6 +++
keyboards/yiancardesigns/gingham/config.h | 5 ---
.../yiancardesigns/gingham/keyboard.json | 6 +++
keyboards/yiancardesigns/seigaiha/config.h | 5 ---
.../yiancardesigns/seigaiha/keyboard.json | 6 +++
keyboards/ymdk/melody96/soldered/config.h | 7 ----
.../ymdk/melody96/soldered/keyboard.json | 6 +++
keyboards/ymdk/np21/config.h | 39 -------------------
keyboards/ymdk/np21/keyboard.json | 6 +++
keyboards/ymdk/yd60mq/config.h | 4 --
keyboards/ymdk/yd60mq/info.json | 6 +++
keyboards/ymdk/ymd09/config.h | 24 ------------
keyboards/ymdk/ymd09/keyboard.json | 6 +++
keyboards/ymdk/ymd67/config.h | 4 --
keyboards/ymdk/ymd67/keyboard.json | 6 +++
keyboards/yoichiro/lunakey_mini/config.h | 5 ---
keyboards/yoichiro/lunakey_mini/keyboard.json | 6 +++
keyboards/yushakobo/quick7/config.h | 39 -------------------
keyboards/yushakobo/quick7/keyboard.json | 6 +++
keyboards/yynmt/acperience12/rev1/config.h | 27 -------------
.../yynmt/acperience12/rev1/keyboard.json | 6 +++
keyboards/yynmt/dozen0/config.h | 39 -------------------
keyboards/yynmt/dozen0/keyboard.json | 6 +++
keyboards/yynmt/kagamidget/config.h | 39 -------------------
keyboards/yynmt/kagamidget/keyboard.json | 6 +++
keyboards/zigotica/z12/config.h | 22 -----------
keyboards/zigotica/z12/keyboard.json | 6 +++
keyboards/zigotica/z34/config.h | 5 ---
keyboards/zigotica/z34/keyboard.json | 6 +++
keyboards/zj68/config.h | 24 ------------
keyboards/zj68/keyboard.json | 6 +++
keyboards/zlant/config.h | 7 ----
keyboards/zlant/keyboard.json | 6 +++
keyboards/zoo/wampus/config.h | 5 ---
keyboards/zoo/wampus/keyboard.json | 6 +++
keyboards/zsa/moonlander/config.h | 5 ---
keyboards/zsa/moonlander/keyboard.json | 6 +++
keyboards/ztboards/after/config.h | 23 -----------
keyboards/ztboards/after/keyboard.json | 6 +++
keyboards/ztboards/noon/config.h | 23 -----------
keyboards/ztboards/noon/keyboard.json | 6 +++
82 files changed, 246 insertions(+), 787 deletions(-)
delete mode 100644 keyboards/x16/config.h
delete mode 100644 keyboards/xelus/akis/config.h
delete mode 100644 keyboards/xelus/dharma/config.h
delete mode 100644 keyboards/xelus/kangaroo/rev2/config.h
delete mode 100644 keyboards/xelus/pachi/mini_32u4/config.h
delete mode 100644 keyboards/xelus/pachi/rev1/config.h
delete mode 100644 keyboards/xelus/snap96/config.h
delete mode 100644 keyboards/xiudi/xd60/rev2/config.h
delete mode 100644 keyboards/xiudi/xd60/rev3/config.h
delete mode 100644 keyboards/xiudi/xd68/config.h
delete mode 100644 keyboards/xiudi/xd75/config.h
delete mode 100644 keyboards/xiudi/xd84pro/config.h
delete mode 100644 keyboards/xiudi/xd87/config.h
delete mode 100644 keyboards/xmmx/config.h
delete mode 100644 keyboards/ydkb/chili/config.h
delete mode 100644 keyboards/ydkb/just60/config.h
delete mode 100644 keyboards/ymdk/melody96/soldered/config.h
delete mode 100644 keyboards/ymdk/np21/config.h
delete mode 100644 keyboards/ymdk/yd60mq/config.h
delete mode 100644 keyboards/ymdk/ymd09/config.h
delete mode 100644 keyboards/ymdk/ymd67/config.h
delete mode 100644 keyboards/yushakobo/quick7/config.h
delete mode 100644 keyboards/yynmt/acperience12/rev1/config.h
delete mode 100644 keyboards/yynmt/dozen0/config.h
delete mode 100644 keyboards/yynmt/kagamidget/config.h
delete mode 100644 keyboards/zigotica/z12/config.h
delete mode 100644 keyboards/zj68/config.h
delete mode 100755 keyboards/zlant/config.h
delete mode 100644 keyboards/ztboards/after/config.h
delete mode 100644 keyboards/ztboards/noon/config.h
diff --git a/keyboards/x16/config.h b/keyboards/x16/config.h
deleted file mode 100644
index c30966d9d2f2..000000000000
--- a/keyboards/x16/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright 2019
- *
- * 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/x16/keyboard.json b/keyboards/x16/keyboard.json
index faf90df99a5e..4d407e533296 100644
--- a/keyboards/x16/keyboard.json
+++ b/keyboards/x16/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "C6", "B4", "D7"],
"rows": ["E6", "F7", "D6", "B6"]
diff --git a/keyboards/xelus/akis/config.h b/keyboards/xelus/akis/config.h
deleted file mode 100644
index 5df8b9c56bd5..000000000000
--- a/keyboards/xelus/akis/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * 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/xelus/akis/keyboard.json b/keyboards/xelus/akis/keyboard.json
index 5163b414c41b..23a8178b265f 100644
--- a/keyboards/xelus/akis/keyboard.json
+++ b/keyboards/xelus/akis/keyboard.json
@@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "F6", "F7", "C7", "C6", "B6", "B5"],
"rows": ["F5", "F4", "F1", "F0", "E6"]
diff --git a/keyboards/xelus/dharma/config.h b/keyboards/xelus/dharma/config.h
deleted file mode 100644
index 5df8b9c56bd5..000000000000
--- a/keyboards/xelus/dharma/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * 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/xelus/dharma/keyboard.json b/keyboards/xelus/dharma/keyboard.json
index 84ef60455887..8d6b7465277c 100644
--- a/keyboards/xelus/dharma/keyboard.json
+++ b/keyboards/xelus/dharma/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B3", "B2", "B1", "D5", "D4", "E6", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"],
"rows": ["D0", "D1", "D2", "D3", "B0"]
diff --git a/keyboards/xelus/kangaroo/rev1/config.h b/keyboards/xelus/kangaroo/rev1/config.h
index c174b67e573a..62c06133c061 100644
--- a/keyboards/xelus/kangaroo/rev1/config.h
+++ b/keyboards/xelus/kangaroo/rev1/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
-
// I2C OLED defines
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/xelus/kangaroo/rev1/keyboard.json b/keyboards/xelus/kangaroo/rev1/keyboard.json
index 12d72f437376..cc5f09b15f8e 100644
--- a/keyboards/xelus/kangaroo/rev1/keyboard.json
+++ b/keyboards/xelus/kangaroo/rev1/keyboard.json
@@ -11,6 +11,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B10", "B2", "B11", "A10", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],
"rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"]
diff --git a/keyboards/xelus/kangaroo/rev2/config.h b/keyboards/xelus/kangaroo/rev2/config.h
deleted file mode 100644
index dfe8035b10c5..000000000000
--- a/keyboards/xelus/kangaroo/rev2/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 Harrison Chan (Xelus)
- *
- * 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/xelus/kangaroo/rev2/keyboard.json b/keyboards/xelus/kangaroo/rev2/keyboard.json
index 1d6794cfa32b..1fb7aaa69376 100644
--- a/keyboards/xelus/kangaroo/rev2/keyboard.json
+++ b/keyboards/xelus/kangaroo/rev2/keyboard.json
@@ -11,6 +11,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B10", "B2", "B11", "A10", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],
"rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"]
diff --git a/keyboards/xelus/ninjin/config.h b/keyboards/xelus/ninjin/config.h
index 7a8ac2f01306..6180fe50d7a4 100644
--- a/keyboards/xelus/ninjin/config.h
+++ b/keyboards/xelus/ninjin/config.h
@@ -23,9 +23,3 @@
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5
#define WS2812_PWM_DMA_CHANNEL 3
#define WS2812_EXTERNAL_PULLUP
-
-/* 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/xelus/ninjin/keyboard.json b/keyboards/xelus/ninjin/keyboard.json
index 36e6a3903391..34032ea4269c 100644
--- a/keyboards/xelus/ninjin/keyboard.json
+++ b/keyboards/xelus/ninjin/keyboard.json
@@ -37,6 +37,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "B6", "B5"],
"rows": ["B4", "B3", "A15", "A3", "B9", "B8"]
diff --git a/keyboards/xelus/pachi/mini_32u4/config.h b/keyboards/xelus/pachi/mini_32u4/config.h
deleted file mode 100644
index 651f613045d6..000000000000
--- a/keyboards/xelus/pachi/mini_32u4/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * 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/xelus/pachi/mini_32u4/keyboard.json b/keyboards/xelus/pachi/mini_32u4/keyboard.json
index e5058d0f0888..590b32de6b62 100644
--- a/keyboards/xelus/pachi/mini_32u4/keyboard.json
+++ b/keyboards/xelus/pachi/mini_32u4/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "E6", "B7", "D0"],
"rows": ["B0", "B1", "B2", "F0", "D2", "D1"]
diff --git a/keyboards/xelus/pachi/rev1/config.h b/keyboards/xelus/pachi/rev1/config.h
deleted file mode 100644
index 651f613045d6..000000000000
--- a/keyboards/xelus/pachi/rev1/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * 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/xelus/pachi/rev1/keyboard.json b/keyboards/xelus/pachi/rev1/keyboard.json
index 1afdfe11935e..98b59c8641a0 100644
--- a/keyboards/xelus/pachi/rev1/keyboard.json
+++ b/keyboards/xelus/pachi/rev1/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A2", "A1", "A0", "A3", "B6", "B5"],
"rows": ["B4", "B3", "A15", "B15", "B9", "B8"]
diff --git a/keyboards/xelus/snap96/config.h b/keyboards/xelus/snap96/config.h
deleted file mode 100644
index c6f9a6c1bfdd..000000000000
--- a/keyboards/xelus/snap96/config.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#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/xelus/snap96/keyboard.json b/keyboards/xelus/snap96/keyboard.json
index c4c806d8e8bb..f9ce42dd15f2 100644
--- a/keyboards/xelus/snap96/keyboard.json
+++ b/keyboards/xelus/snap96/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "D5", "B7", "D0", "F5", "D3", "B4", "B5", "D4", "D6"],
"rows": ["B2", "B1", "B0", "C7", "F6", "F7", "B3", "D1", "D2", "D7", "B6", "C6"]
diff --git a/keyboards/xelus/xs108/config.h b/keyboards/xelus/xs108/config.h
index 4b3b447c9577..3ac31458a157 100644
--- a/keyboards/xelus/xs108/config.h
+++ b/keyboards/xelus/xs108/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
-
// I2C setup
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/xelus/xs108/keyboard.json b/keyboards/xelus/xs108/keyboard.json
index e80292365a60..14d442d197c7 100644
--- a/keyboards/xelus/xs108/keyboard.json
+++ b/keyboards/xelus/xs108/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "B6", "B5", "B4", "B3", "A15", "A14"],
"rows": ["C14", "C13", "A10", "A3", "A1", "A0"]
diff --git a/keyboards/xiudi/xd60/rev2/config.h b/keyboards/xiudi/xd60/rev2/config.h
deleted file mode 100644
index 4e5969481849..000000000000
--- a/keyboards/xiudi/xd60/rev2/config.h
+++ /dev/null
@@ -1,23 +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
-
-/* 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/xiudi/xd60/rev2/keyboard.json b/keyboards/xiudi/xd60/rev2/keyboard.json
index 639c2dda9e06..8e03fdba20af 100644
--- a/keyboards/xiudi/xd60/rev2/keyboard.json
+++ b/keyboards/xiudi/xd60/rev2/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/xiudi/xd60/rev3/config.h b/keyboards/xiudi/xd60/rev3/config.h
deleted file mode 100644
index 61a74eb88a99..000000000000
--- a/keyboards/xiudi/xd60/rev3/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2019 Rodrigo Feijao
-
-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/xiudi/xd60/rev3/keyboard.json b/keyboards/xiudi/xd60/rev3/keyboard.json
index 5b12c38f8ec2..09af3681af36 100644
--- a/keyboards/xiudi/xd60/rev3/keyboard.json
+++ b/keyboards/xiudi/xd60/rev3/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h
deleted file mode 100644
index 139fb913228a..000000000000
--- a/keyboards/xiudi/xd68/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Michael Campbell
-
-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/xiudi/xd68/keyboard.json b/keyboards/xiudi/xd68/keyboard.json
index 1836feb49d53..620c0b596397 100644
--- a/keyboards/xiudi/xd68/keyboard.json
+++ b/keyboards/xiudi/xd68/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "F7"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/xiudi/xd75/config.h b/keyboards/xiudi/xd75/config.h
deleted file mode 100644
index 9bbab0cdf0b1..000000000000
--- a/keyboards/xiudi/xd75/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2017 Benjamin Kesselring
-
-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/xiudi/xd75/keyboard.json b/keyboards/xiudi/xd75/keyboard.json
index 5086134cf1a3..df1ec3357767 100644
--- a/keyboards/xiudi/xd75/keyboard.json
+++ b/keyboards/xiudi/xd75/keyboard.json
@@ -17,6 +17,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "B0"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h
deleted file mode 100644
index 1e378e8f4723..000000000000
--- a/keyboards/xiudi/xd84pro/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020
- *
- * 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/xiudi/xd84pro/keyboard.json b/keyboards/xiudi/xd84pro/keyboard.json
index 23bad3fcab1d..5388d8f7c228 100644
--- a/keyboards/xiudi/xd84pro/keyboard.json
+++ b/keyboards/xiudi/xd84pro/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "F7"],
"rows": ["F4", "D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/xiudi/xd87/config.h b/keyboards/xiudi/xd87/config.h
deleted file mode 100644
index 95110fa59001..000000000000
--- a/keyboards/xiudi/xd87/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2018 Alexander Fougner
-
-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/xiudi/xd87/keyboard.json b/keyboards/xiudi/xd87/keyboard.json
index a84c5660a8ab..d46c6ccba724 100644
--- a/keyboards/xiudi/xd87/keyboard.json
+++ b/keyboards/xiudi/xd87/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B5", "B6", "C6", "D4", "D6", "D7", "B4", "B2", "B3", "D2"],
"rows": ["D1", "B0", "B1", "C7", "D3", "D5"]
diff --git a/keyboards/xmmx/config.h b/keyboards/xmmx/config.h
deleted file mode 100644
index 5f360813239b..000000000000
--- a/keyboards/xmmx/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#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/xmmx/keyboard.json b/keyboards/xmmx/keyboard.json
index c0687ca1b7bb..2e6813520c08 100644
--- a/keyboards/xmmx/keyboard.json
+++ b/keyboards/xmmx/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B3", "B2", "B1", "E6", "B7", "C7", "C6", "D4", "D6", "D7", "B4", "D0", "D1", "F7", "D2", "D3", "D5"],
"rows": ["B0", "F6", "F5", "F4", "F1", "F0"]
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h
deleted file mode 100644
index b9449c4714bf..000000000000
--- a/keyboards/ydkb/chili/config.h
+++ /dev/null
@@ -1,39 +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
-
-/* 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/ydkb/chili/keyboard.json b/keyboards/ydkb/chili/keyboard.json
index 78dd6318fe82..92552d96a3d3 100644
--- a/keyboards/ydkb/chili/keyboard.json
+++ b/keyboards/ydkb/chili/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6"],
"rows": ["F5", "F4", "F1", "F0", "E6", "B0", "D5", "D3", "D2", "D1", "D0"]
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h
index a835243d5809..5b08baa214c1 100644
--- a/keyboards/ydkb/grape/config.h
+++ b/keyboards/ydkb/grape/config.h
@@ -23,8 +23,3 @@
#define MATRIX_COL_PINS { F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, B3, B2, B1, B0 }
#define SN74X138_ADDRESS_PINS { D2, D1, D0 }
-
-/* 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/ydkb/grape/keyboard.json b/keyboards/ydkb/grape/keyboard.json
index f8f0364d93db..e1645d7d0356 100644
--- a/keyboards/ydkb/grape/keyboard.json
+++ b/keyboards/ydkb/grape/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "B7",
"breathing": true
diff --git a/keyboards/ydkb/just60/config.h b/keyboards/ydkb/just60/config.h
deleted file mode 100644
index 4ec059e4b582..000000000000
--- a/keyboards/ydkb/just60/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2019 Jianfei Wang
-
-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/ydkb/just60/keyboard.json b/keyboards/ydkb/just60/keyboard.json
index fb46e08ea313..586ea80f21f6 100644
--- a/keyboards/ydkb/just60/keyboard.json
+++ b/keyboards/ydkb/just60/keyboard.json
@@ -11,6 +11,12 @@
"features": {
"bootmagic": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D6", "D7", "B4", "B6", "B5", "B7", "F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0"],
"rows": ["E2", "C7", "B3", "B2", "B1"]
diff --git a/keyboards/yiancardesigns/barleycorn/config.h b/keyboards/yiancardesigns/barleycorn/config.h
index 5e90dd35159f..137ad99b8d8d 100644
--- a/keyboards/yiancardesigns/barleycorn/config.h
+++ b/keyboards/yiancardesigns/barleycorn/config.h
@@ -41,11 +41,6 @@ along with this program. If not, see .
/* COL2ROW, 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
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/yiancardesigns/barleycorn/keyboard.json b/keyboards/yiancardesigns/barleycorn/keyboard.json
index 2fd79052c916..a1676840a55c 100644
--- a/keyboards/yiancardesigns/barleycorn/keyboard.json
+++ b/keyboards/yiancardesigns/barleycorn/keyboard.json
@@ -13,6 +13,12 @@
"extrakey": true,
"mousekey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {
diff --git a/keyboards/yiancardesigns/gingham/config.h b/keyboards/yiancardesigns/gingham/config.h
index fe06114dd56e..20dd8f5eaf70 100644
--- a/keyboards/yiancardesigns/gingham/config.h
+++ b/keyboards/yiancardesigns/gingham/config.h
@@ -41,11 +41,6 @@ along with this program. If not, see .
/* COL2ROW, 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
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/yiancardesigns/gingham/keyboard.json b/keyboards/yiancardesigns/gingham/keyboard.json
index eb5573a355b6..d1d9b866e8d0 100644
--- a/keyboards/yiancardesigns/gingham/keyboard.json
+++ b/keyboards/yiancardesigns/gingham/keyboard.json
@@ -14,6 +14,12 @@
"extrakey": true,
"mousekey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {
diff --git a/keyboards/yiancardesigns/seigaiha/config.h b/keyboards/yiancardesigns/seigaiha/config.h
index 70ce1c29abf0..427da6610a9e 100644
--- a/keyboards/yiancardesigns/seigaiha/config.h
+++ b/keyboards/yiancardesigns/seigaiha/config.h
@@ -41,11 +41,6 @@ along with this program. If not, see .
/* COL2ROW, 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
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/yiancardesigns/seigaiha/keyboard.json b/keyboards/yiancardesigns/seigaiha/keyboard.json
index 5890357c99f2..bb694f5b8ee8 100644
--- a/keyboards/yiancardesigns/seigaiha/keyboard.json
+++ b/keyboards/yiancardesigns/seigaiha/keyboard.json
@@ -14,6 +14,12 @@
"extrakey": true,
"mousekey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"bootmagic": {
"matrix": [1, 0]
},
diff --git a/keyboards/ymdk/melody96/soldered/config.h b/keyboards/ymdk/melody96/soldered/config.h
deleted file mode 100644
index 5f360813239b..000000000000
--- a/keyboards/ymdk/melody96/soldered/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#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/ymdk/melody96/soldered/keyboard.json b/keyboards/ymdk/melody96/soldered/keyboard.json
index 06d39472406f..dbb2ddc32bb9 100644
--- a/keyboards/ymdk/melody96/soldered/keyboard.json
+++ b/keyboards/ymdk/melody96/soldered/keyboard.json
@@ -16,6 +16,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
"rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"]
diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h
deleted file mode 100644
index 6c187131d441..000000000000
--- a/keyboards/ymdk/np21/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2017 Luiz Ribeiro
-
-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/ymdk/np21/keyboard.json b/keyboards/ymdk/np21/keyboard.json
index 14a075042b50..a1997161ee93 100644
--- a/keyboards/ymdk/np21/keyboard.json
+++ b/keyboards/ymdk/np21/keyboard.json
@@ -18,6 +18,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5"],
"rows": ["B0", "B1", "B2", "B3"]
diff --git a/keyboards/ymdk/yd60mq/config.h b/keyboards/ymdk/yd60mq/config.h
deleted file mode 100644
index 6f34d5132a80..000000000000
--- a/keyboards/ymdk/yd60mq/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/ymdk/yd60mq/info.json b/keyboards/ymdk/yd60mq/info.json
index a1c4bc8f760f..4152ed6e077e 100644
--- a/keyboards/ymdk/yd60mq/info.json
+++ b/keyboards/ymdk/yd60mq/info.json
@@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": false
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/ymdk/ymd09/config.h b/keyboards/ymdk/ymd09/config.h
deleted file mode 100644
index 8d59b7832f43..000000000000
--- a/keyboards/ymdk/ymd09/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 Patrick Fruh
-Copyright 2023 SHVD3x
-
-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/ymdk/ymd09/keyboard.json b/keyboards/ymdk/ymd09/keyboard.json
index 52dc9d31609d..571aa8c45f6f 100644
--- a/keyboards/ymdk/ymd09/keyboard.json
+++ b/keyboards/ymdk/ymd09/keyboard.json
@@ -24,6 +24,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"ws2812": {
"pin": "E2"
},
diff --git a/keyboards/ymdk/ymd67/config.h b/keyboards/ymdk/ymd67/config.h
deleted file mode 100644
index 6f34d5132a80..000000000000
--- a/keyboards/ymdk/ymd67/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/ymdk/ymd67/keyboard.json b/keyboards/ymdk/ymd67/keyboard.json
index 5e470553d5fc..5f9ba275f971 100644
--- a/keyboards/ymdk/ymd67/keyboard.json
+++ b/keyboards/ymdk/ymd67/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": false
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/yoichiro/lunakey_mini/config.h b/keyboards/yoichiro/lunakey_mini/config.h
index 079dd3e3d73c..c817b5cfe3ec 100644
--- a/keyboards/yoichiro/lunakey_mini/config.h
+++ b/keyboards/yoichiro/lunakey_mini/config.h
@@ -20,11 +20,6 @@ along with this program. If not, see .
/* Audio Support */
#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.
diff --git a/keyboards/yoichiro/lunakey_mini/keyboard.json b/keyboards/yoichiro/lunakey_mini/keyboard.json
index 5fbf6c8fbc9d..e31f09c285e9 100644
--- a/keyboards/yoichiro/lunakey_mini/keyboard.json
+++ b/keyboards/yoichiro/lunakey_mini/keyboard.json
@@ -12,6 +12,12 @@
"bootmagic": true,
"extrakey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"],
"rows": ["D4", "D7", "E6", "B4"]
diff --git a/keyboards/yushakobo/quick7/config.h b/keyboards/yushakobo/quick7/config.h
deleted file mode 100644
index 1c8764879492..000000000000
--- a/keyboards/yushakobo/quick7/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 yushakobo
-
-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/yushakobo/quick7/keyboard.json b/keyboards/yushakobo/quick7/keyboard.json
index 14d65945ce91..ba4854015bf4 100644
--- a/keyboards/yushakobo/quick7/keyboard.json
+++ b/keyboards/yushakobo/quick7/keyboard.json
@@ -41,6 +41,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"direct": [
["D2", "D4", "F4"],
diff --git a/keyboards/yynmt/acperience12/rev1/config.h b/keyboards/yynmt/acperience12/rev1/config.h
deleted file mode 100644
index 65a752a97f50..000000000000
--- a/keyboards/yynmt/acperience12/rev1/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Copyright 2021 yynmt
- *
- * 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/yynmt/acperience12/rev1/keyboard.json b/keyboards/yynmt/acperience12/rev1/keyboard.json
index deb02bd55d4a..ccdf2fa1113e 100644
--- a/keyboards/yynmt/acperience12/rev1/keyboard.json
+++ b/keyboards/yynmt/acperience12/rev1/keyboard.json
@@ -13,6 +13,12 @@
"extrakey": true,
"mousekey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"matrix_pins": {
diff --git a/keyboards/yynmt/dozen0/config.h b/keyboards/yynmt/dozen0/config.h
deleted file mode 100644
index eb679ebba0a7..000000000000
--- a/keyboards/yynmt/dozen0/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 yynmt
-
-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/yynmt/dozen0/keyboard.json b/keyboards/yynmt/dozen0/keyboard.json
index cdd55389f3c4..1ad2b13be053 100644
--- a/keyboards/yynmt/dozen0/keyboard.json
+++ b/keyboards/yynmt/dozen0/keyboard.json
@@ -37,6 +37,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "B5", "B4", "E6", "D7", "C6", "D4"],
"rows": ["F4"]
diff --git a/keyboards/yynmt/kagamidget/config.h b/keyboards/yynmt/kagamidget/config.h
deleted file mode 100644
index eb679ebba0a7..000000000000
--- a/keyboards/yynmt/kagamidget/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 yynmt
-
-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/yynmt/kagamidget/keyboard.json b/keyboards/yynmt/kagamidget/keyboard.json
index 15e48da7dd3a..a4dff734b5fd 100644
--- a/keyboards/yynmt/kagamidget/keyboard.json
+++ b/keyboards/yynmt/kagamidget/keyboard.json
@@ -37,6 +37,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"],
"rows": ["D1", "D0", "F4", "F5"]
diff --git a/keyboards/zigotica/z12/config.h b/keyboards/zigotica/z12/config.h
deleted file mode 100644
index fef7fb59bd16..000000000000
--- a/keyboards/zigotica/z12/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 Sergi Meseguer
-
-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/zigotica/z12/keyboard.json b/keyboards/zigotica/z12/keyboard.json
index d9791d9c5efb..2d3e92d6e2c8 100644
--- a/keyboards/zigotica/z12/keyboard.json
+++ b/keyboards/zigotica/z12/keyboard.json
@@ -29,6 +29,12 @@
"nkro": false,
"oled": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"direct": [
[null, "E6", "C6", null],
diff --git a/keyboards/zigotica/z34/config.h b/keyboards/zigotica/z34/config.h
index d2ec68cc394e..10c442f2066f 100644
--- a/keyboards/zigotica/z34/config.h
+++ b/keyboards/zigotica/z34/config.h
@@ -16,11 +16,6 @@ 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
-
// EE_HANDS MASTER_RIGHT MASTER_LEFT
#define MASTER_RIGHT
diff --git a/keyboards/zigotica/z34/keyboard.json b/keyboards/zigotica/z34/keyboard.json
index 5faa9b23b219..c08934360e4e 100644
--- a/keyboards/zigotica/z34/keyboard.json
+++ b/keyboards/zigotica/z34/keyboard.json
@@ -14,6 +14,12 @@
"features": {
"extrakey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
diff --git a/keyboards/zj68/config.h b/keyboards/zj68/config.h
deleted file mode 100644
index f97ce7b0f841..000000000000
--- a/keyboards/zj68/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2019 Collin Diekvoss
-
-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/zj68/keyboard.json b/keyboards/zj68/keyboard.json
index 3adf890df905..9273b81cd5a1 100644
--- a/keyboards/zj68/keyboard.json
+++ b/keyboards/zj68/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B0", "B1", "B2", "B3", "B7"]
diff --git a/keyboards/zlant/config.h b/keyboards/zlant/config.h
deleted file mode 100755
index 5f360813239b..000000000000
--- a/keyboards/zlant/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#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/zlant/keyboard.json b/keyboards/zlant/keyboard.json
index d59b1c3f19d2..965a259c3be9 100644
--- a/keyboards/zlant/keyboard.json
+++ b/keyboards/zlant/keyboard.json
@@ -15,6 +15,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B7", "D1", "D2", "D3", "B3", "B2"],
"rows": ["B0", "B1", "D4", "D5"]
diff --git a/keyboards/zoo/wampus/config.h b/keyboards/zoo/wampus/config.h
index e0ddfaca88cc..b64c645a4154 100644
--- a/keyboards/zoo/wampus/config.h
+++ b/keyboards/zoo/wampus/config.h
@@ -36,8 +36,3 @@ along with this program. If not, see .
#define I2C1_TIMINGR_SDADEL 1U
#define I2C1_TIMINGR_SCLH 3U
#define I2C1_TIMINGR_SCLL 9U
-
-/* 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/zoo/wampus/keyboard.json b/keyboards/zoo/wampus/keyboard.json
index fdc10ae21083..3e65c5023199 100644
--- a/keyboards/zoo/wampus/keyboard.json
+++ b/keyboards/zoo/wampus/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A10", "A9", "A8", "B12", "A15", "A13", "A7", "A2", "A1", "A0", "F1", "F0", "B3", "B4", "B5"],
"rows": ["C13", "C14", "A5", "A4", "A3"]
diff --git a/keyboards/zsa/moonlander/config.h b/keyboards/zsa/moonlander/config.h
index 9fbb7a64b5ff..08870fba9d5a 100644
--- a/keyboards/zsa/moonlander/config.h
+++ b/keyboards/zsa/moonlander/config.h
@@ -44,11 +44,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-/* 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/zsa/moonlander/keyboard.json b/keyboards/zsa/moonlander/keyboard.json
index 08864fe2d771..571674fe1c85 100644
--- a/keyboards/zsa/moonlander/keyboard.json
+++ b/keyboards/zsa/moonlander/keyboard.json
@@ -22,6 +22,12 @@
"rgb_matrix": true,
"swap_hands": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"audio": {
"driver": "dac_additive"
},
diff --git a/keyboards/ztboards/after/config.h b/keyboards/ztboards/after/config.h
deleted file mode 100644
index 59d91c329de8..000000000000
--- a/keyboards/ztboards/after/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2019
- *
- * 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/ztboards/after/keyboard.json b/keyboards/ztboards/after/keyboard.json
index 08fcdb3625f2..1b023908377d 100644
--- a/keyboards/ztboards/after/keyboard.json
+++ b/keyboards/ztboards/after/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D7", "D6", "D4", "C7", "C6", "B6", "B5", "B4", "F7", "F0", "F4", "F1"],
"rows": ["B3", "F6", "F5", "D5", "B2"]
diff --git a/keyboards/ztboards/noon/config.h b/keyboards/ztboards/noon/config.h
deleted file mode 100644
index 59d91c329de8..000000000000
--- a/keyboards/ztboards/noon/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2019
- *
- * 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/ztboards/noon/keyboard.json b/keyboards/ztboards/noon/keyboard.json
index 0f965963cfc0..a3f9912acc45 100644
--- a/keyboards/ztboards/noon/keyboard.json
+++ b/keyboards/ztboards/noon/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D1", "D0", "D4", "D6", "B2", "D7", "B4", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"],
"rows": ["B5", "D5", "D3", "B1", "F0"]