From 079ac7c1665c292ea086e8457d2a83dad805ea31 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Mon, 20 May 2024 13:00:35 -0700
Subject: [PATCH] Migrate `LOCKING_*_ENABLE` to Data-Driven: A-C, Part 2
(#23746)
Affects:
- `chalice`
- `charue/sunsetter_r2`
- `checkerboards/axon40`
- `checkerboards/candybar_ortho`
- `checkerboards/g_idb60`
- `checkerboards/nop60`
- `checkerboards/phoenix45_ortho`
- `checkerboards/plexus75`
- `checkerboards/plexus75_he`
- `checkerboards/pursuit40`
- `checkerboards/quark`
- `checkerboards/quark_lp`
- `checkerboards/quark_plus`
- `checkerboards/quark_squared`
- `checkerboards/snop60`
- `checkerboards/ud40_ortho_alt`
- `cheshire/curiosity`
- `chickenman/ciel`
- `chlx/merro60`
- `chlx/str_merro60`
- `chosfox/cf81`
- `citrus/erdnuss65`
- `ckeys/handwire_101`
- `ckeys/nakey`
- `ckeys/obelus`
- `ckeys/thedora`
- `ckeys/washington`
- `clueboard/2x1800/2018`
- `clueboard/2x1800/2021`
---
keyboards/chalice/config.h | 23 -----------
keyboards/chalice/keyboard.json | 6 +++
keyboards/charue/sunsetter_r2/config.h | 9 -----
keyboards/charue/sunsetter_r2/keyboard.json | 6 +++
keyboards/checkerboards/axon40/config.h | 23 -----------
keyboards/checkerboards/axon40/keyboard.json | 6 +++
.../checkerboards/candybar_ortho/config.h | 23 -----------
.../candybar_ortho/keyboard.json | 6 +++
keyboards/checkerboards/g_idb60/config.h | 24 ------------
keyboards/checkerboards/g_idb60/keyboard.json | 6 +++
keyboards/checkerboards/nop60/config.h | 24 ------------
keyboards/checkerboards/nop60/keyboard.json | 6 +++
.../checkerboards/phoenix45_ortho/config.h | 23 -----------
.../phoenix45_ortho/keyboard.json | 6 +++
keyboards/checkerboards/plexus75/config.h | 38 ------------------
.../checkerboards/plexus75/keyboard.json | 6 +++
keyboards/checkerboards/plexus75_he/config.h | 23 -----------
.../checkerboards/plexus75_he/keyboard.json | 6 +++
keyboards/checkerboards/pursuit40/config.h | 39 -------------------
.../checkerboards/pursuit40/keyboard.json | 6 +++
keyboards/checkerboards/quark/config.h | 23 -----------
keyboards/checkerboards/quark/keyboard.json | 6 +++
keyboards/checkerboards/quark_lp/config.h | 23 -----------
.../checkerboards/quark_lp/keyboard.json | 6 +++
keyboards/checkerboards/quark_plus/config.h | 23 -----------
.../checkerboards/quark_plus/keyboard.json | 6 +++
.../checkerboards/quark_squared/config.h | 23 -----------
.../checkerboards/quark_squared/keyboard.json | 6 +++
keyboards/checkerboards/snop60/config.h | 24 ------------
keyboards/checkerboards/snop60/keyboard.json | 6 +++
.../checkerboards/ud40_ortho_alt/config.h | 23 -----------
.../ud40_ortho_alt/keyboard.json | 6 +++
keyboards/cheshire/curiosity/config.h | 23 -----------
keyboards/cheshire/curiosity/keyboard.json | 6 +++
keyboards/chickenman/ciel/config.h | 39 -------------------
keyboards/chickenman/ciel/keyboard.json | 6 +++
keyboards/chlx/merro60/config.h | 5 ---
keyboards/chlx/merro60/keyboard.json | 6 +++
keyboards/chlx/str_merro60/config.h | 5 ---
keyboards/chlx/str_merro60/keyboard.json | 6 +++
keyboards/chosfox/cf81/config.h | 5 ---
keyboards/chosfox/cf81/keyboard.json | 6 +++
keyboards/citrus/erdnuss65/config.h | 3 --
keyboards/citrus/erdnuss65/keyboard.json | 6 +++
keyboards/ckeys/handwire_101/config.h | 5 ---
keyboards/ckeys/handwire_101/keyboard.json | 6 +++
keyboards/ckeys/nakey/config.h | 39 -------------------
keyboards/ckeys/nakey/keyboard.json | 6 +++
keyboards/ckeys/obelus/config.h | 5 ---
keyboards/ckeys/obelus/keyboard.json | 6 +++
keyboards/ckeys/thedora/config.h | 5 ---
keyboards/ckeys/thedora/keyboard.json | 6 +++
keyboards/ckeys/washington/config.h | 37 ------------------
keyboards/ckeys/washington/keyboard.json | 6 +++
keyboards/clueboard/2x1800/2018/config.h | 6 ---
keyboards/clueboard/2x1800/2018/keyboard.json | 6 +++
keyboards/clueboard/2x1800/2021/config.h | 6 ---
keyboards/clueboard/2x1800/2021/keyboard.json | 6 +++
58 files changed, 174 insertions(+), 571 deletions(-)
delete mode 100644 keyboards/chalice/config.h
delete mode 100644 keyboards/charue/sunsetter_r2/config.h
delete mode 100644 keyboards/checkerboards/axon40/config.h
delete mode 100644 keyboards/checkerboards/candybar_ortho/config.h
delete mode 100644 keyboards/checkerboards/g_idb60/config.h
delete mode 100644 keyboards/checkerboards/nop60/config.h
delete mode 100644 keyboards/checkerboards/phoenix45_ortho/config.h
delete mode 100644 keyboards/checkerboards/plexus75/config.h
delete mode 100644 keyboards/checkerboards/plexus75_he/config.h
delete mode 100644 keyboards/checkerboards/pursuit40/config.h
delete mode 100644 keyboards/checkerboards/quark/config.h
delete mode 100644 keyboards/checkerboards/quark_lp/config.h
delete mode 100644 keyboards/checkerboards/quark_plus/config.h
delete mode 100644 keyboards/checkerboards/quark_squared/config.h
delete mode 100644 keyboards/checkerboards/snop60/config.h
delete mode 100644 keyboards/checkerboards/ud40_ortho_alt/config.h
delete mode 100644 keyboards/cheshire/curiosity/config.h
delete mode 100644 keyboards/chickenman/ciel/config.h
delete mode 100644 keyboards/ckeys/nakey/config.h
delete mode 100644 keyboards/ckeys/washington/config.h
diff --git a/keyboards/chalice/config.h b/keyboards/chalice/config.h
deleted file mode 100644
index f53b6e9099..0000000000
--- a/keyboards/chalice/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2020 null-ll
- * Copyright 2021 Jels, Josh Johnson
- *
- * 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/chalice/keyboard.json b/keyboards/chalice/keyboard.json
index 9332431184..b8b4436966 100644
--- a/keyboards/chalice/keyboard.json
+++ b/keyboards/chalice/keyboard.json
@@ -36,6 +36,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "C6", "B1", "D2", "E6", "B3", "D7"],
"rows": ["F4", "D1", "D0", "F5", "D4", "F6", "B4", "B5", "B2", "B6"]
diff --git a/keyboards/charue/sunsetter_r2/config.h b/keyboards/charue/sunsetter_r2/config.h
deleted file mode 100644
index bb09fb145c..0000000000
--- a/keyboards/charue/sunsetter_r2/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2022 Charue Design
-// 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/charue/sunsetter_r2/keyboard.json b/keyboards/charue/sunsetter_r2/keyboard.json
index b961c21e26..b7b7cc8d92 100644
--- a/keyboards/charue/sunsetter_r2/keyboard.json
+++ b/keyboards/charue/sunsetter_r2/keyboard.json
@@ -35,6 +35,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F7", "B1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
"rows": ["B3", "B2", "F4", "F5", "F6"]
diff --git a/keyboards/checkerboards/axon40/config.h b/keyboards/checkerboards/axon40/config.h
deleted file mode 100644
index 21d76ea1ac..0000000000
--- a/keyboards/checkerboards/axon40/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/axon40/keyboard.json b/keyboards/checkerboards/axon40/keyboard.json
index 8a3f0d5857..ca492690b9 100644
--- a/keyboards/checkerboards/axon40/keyboard.json
+++ b/keyboards/checkerboards/axon40/keyboard.json
@@ -37,6 +37,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "B7", "D4", "D6", "F0", "F1", "C6", "B6", "B5", "B4", "E6", "B0"],
"rows": ["D2", "D3", "D1", "D5"]
diff --git a/keyboards/checkerboards/candybar_ortho/config.h b/keyboards/checkerboards/candybar_ortho/config.h
deleted file mode 100644
index e9b1b6d105..0000000000
--- a/keyboards/checkerboards/candybar_ortho/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/candybar_ortho/keyboard.json b/keyboards/checkerboards/candybar_ortho/keyboard.json
index 6067d1c277..d7908a04f4 100644
--- a/keyboards/checkerboards/candybar_ortho/keyboard.json
+++ b/keyboards/checkerboards/candybar_ortho/keyboard.json
@@ -37,6 +37,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D0", "D1", "D2"],
"rows": ["B4", "D4", "D7", "D6", "B5", "B6", "C7", "C6"]
diff --git a/keyboards/checkerboards/g_idb60/config.h b/keyboards/checkerboards/g_idb60/config.h
deleted file mode 100644
index 9b8adff3ec..0000000000
--- a/keyboards/checkerboards/g_idb60/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
- /*
-Copyright 2021 Nathan Spears
-
- 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/checkerboards/g_idb60/keyboard.json b/keyboards/checkerboards/g_idb60/keyboard.json
index 7ef5a8e0cd..b4fc0f9b6d 100644
--- a/keyboards/checkerboards/g_idb60/keyboard.json
+++ b/keyboards/checkerboards/g_idb60/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "C6", "C7", "D4", "F6", "F0", "B0", "F1", "F4", "F5", "D1", "D0", "D3", "D5"],
"rows": ["D6", "D7", "B4", "B5", "F7"]
diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h
deleted file mode 100644
index 9b8adff3ec..0000000000
--- a/keyboards/checkerboards/nop60/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
- /*
-Copyright 2021 Nathan Spears
-
- 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/checkerboards/nop60/keyboard.json b/keyboards/checkerboards/nop60/keyboard.json
index f12b7a54d2..a07c2af3bc 100644
--- a/keyboards/checkerboards/nop60/keyboard.json
+++ b/keyboards/checkerboards/nop60/keyboard.json
@@ -18,6 +18,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F5", "F4", "D0", "D7", "D3", "D4", "D5", "D6", "F7", "C7", "B4", "B6", "B5"],
"rows": ["F0", "F1", "E6", "B7", "C6"]
diff --git a/keyboards/checkerboards/phoenix45_ortho/config.h b/keyboards/checkerboards/phoenix45_ortho/config.h
deleted file mode 100644
index 21d76ea1ac..0000000000
--- a/keyboards/checkerboards/phoenix45_ortho/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/phoenix45_ortho/keyboard.json b/keyboards/checkerboards/phoenix45_ortho/keyboard.json
index 43565b9852..ecec354c56 100644
--- a/keyboards/checkerboards/phoenix45_ortho/keyboard.json
+++ b/keyboards/checkerboards/phoenix45_ortho/keyboard.json
@@ -29,6 +29,12 @@
"unicode": true,
"encoder": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT_ortho_2x225u": {
"layout": [
diff --git a/keyboards/checkerboards/plexus75/config.h b/keyboards/checkerboards/plexus75/config.h
deleted file mode 100644
index c71a85e7db..0000000000
--- a/keyboards/checkerboards/plexus75/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright 2020 Nathan Spears
-
-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/checkerboards/plexus75/keyboard.json b/keyboards/checkerboards/plexus75/keyboard.json
index 1757cdeb57..14bd4deb75 100644
--- a/keyboards/checkerboards/plexus75/keyboard.json
+++ b/keyboards/checkerboards/plexus75/keyboard.json
@@ -39,6 +39,12 @@
"rgblight": true,
"unicode": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "B0", "D1", "F7", "F6", "F5", "F4", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
"rows": ["D2", "B3", "B1", "F1", "F0"]
diff --git a/keyboards/checkerboards/plexus75_he/config.h b/keyboards/checkerboards/plexus75_he/config.h
deleted file mode 100644
index 21d76ea1ac..0000000000
--- a/keyboards/checkerboards/plexus75_he/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/plexus75_he/keyboard.json b/keyboards/checkerboards/plexus75_he/keyboard.json
index c089e58e61..2da1bf34f3 100644
--- a/keyboards/checkerboards/plexus75_he/keyboard.json
+++ b/keyboards/checkerboards/plexus75_he/keyboard.json
@@ -38,6 +38,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C4", "C5", "D3", "C7", "B7", "B6", "B5", "B4"],
"rows": ["C2", "D0", "D1", "D2", "D6", "B0", "B3", "B2", "C6", "B1"]
diff --git a/keyboards/checkerboards/pursuit40/config.h b/keyboards/checkerboards/pursuit40/config.h
deleted file mode 100644
index 4552a75092..0000000000
--- a/keyboards/checkerboards/pursuit40/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Copyright 2020 Nathan Spears
- *
- * 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/checkerboards/pursuit40/keyboard.json b/keyboards/checkerboards/pursuit40/keyboard.json
index 6e65dde2f1..974bab5c92 100644
--- a/keyboards/checkerboards/pursuit40/keyboard.json
+++ b/keyboards/checkerboards/pursuit40/keyboard.json
@@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F1", "E6", "B7", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
"rows": ["D2", "D1", "F4", "F5"]
diff --git a/keyboards/checkerboards/quark/config.h b/keyboards/checkerboards/quark/config.h
deleted file mode 100644
index 876e59daa0..0000000000
--- a/keyboards/checkerboards/quark/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2020 Nathan Spears
- *
- * 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/checkerboards/quark/keyboard.json b/keyboards/checkerboards/quark/keyboard.json
index 22fa758e7e..4bb7c7fef7 100644
--- a/keyboards/checkerboards/quark/keyboard.json
+++ b/keyboards/checkerboards/quark/keyboard.json
@@ -51,6 +51,12 @@
"unicode": true,
"encoder": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"community_layouts": ["ortho_4x12", "planck_mit"],
"layouts": {
"LAYOUT_ortho_5x12_2x225u": {
diff --git a/keyboards/checkerboards/quark_lp/config.h b/keyboards/checkerboards/quark_lp/config.h
deleted file mode 100644
index 21d76ea1ac..0000000000
--- a/keyboards/checkerboards/quark_lp/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/quark_lp/keyboard.json b/keyboards/checkerboards/quark_lp/keyboard.json
index 35b599879e..59fda2efc8 100644
--- a/keyboards/checkerboards/quark_lp/keyboard.json
+++ b/keyboards/checkerboards/quark_lp/keyboard.json
@@ -47,6 +47,12 @@
"nkro": false,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "B5", "B4", "B3", "B0", "D6", "D5", "D4", "D3", "D2", "D1", "D0"],
"rows": ["C5", "C4", "C6", "C7"]
diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h
deleted file mode 100644
index 07fe2e4c7b..0000000000
--- a/keyboards/checkerboards/quark_plus/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2022 Nathan Spears
- *
- * 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/checkerboards/quark_plus/keyboard.json b/keyboards/checkerboards/quark_plus/keyboard.json
index 6e7f5a8cc2..311d21c219 100644
--- a/keyboards/checkerboards/quark_plus/keyboard.json
+++ b/keyboards/checkerboards/quark_plus/keyboard.json
@@ -40,6 +40,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C6", "D1", "D5", "D4", "D3", "D2"],
"rows": ["B4", "B1", "C2", "D0", "D6", "B0", "B6", "B5"]
diff --git a/keyboards/checkerboards/quark_squared/config.h b/keyboards/checkerboards/quark_squared/config.h
deleted file mode 100644
index 21d76ea1ac..0000000000
--- a/keyboards/checkerboards/quark_squared/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/quark_squared/keyboard.json b/keyboards/checkerboards/quark_squared/keyboard.json
index e242bfc5d9..efec5e50e7 100644
--- a/keyboards/checkerboards/quark_squared/keyboard.json
+++ b/keyboards/checkerboards/quark_squared/keyboard.json
@@ -51,6 +51,12 @@
"unicode": true,
"encoder": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT_4_2x225u": {
"layout": [
diff --git a/keyboards/checkerboards/snop60/config.h b/keyboards/checkerboards/snop60/config.h
deleted file mode 100644
index e335720fd1..0000000000
--- a/keyboards/checkerboards/snop60/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
- /*
-Copyright 2022 Nathan Spears
-
- 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/checkerboards/snop60/keyboard.json b/keyboards/checkerboards/snop60/keyboard.json
index 60b22caf76..443c27d9b4 100644
--- a/keyboards/checkerboards/snop60/keyboard.json
+++ b/keyboards/checkerboards/snop60/keyboard.json
@@ -60,6 +60,12 @@
"rgblight": true,
"encoder": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layout_aliases": {
"LAYOUT_7u": "LAYOUT_60_ansi_tsangan_split_bs_rshift",
"LAYOUT_2x3u": "LAYOUT_60_ansi_tsangan_split_bs_rshift_space"
diff --git a/keyboards/checkerboards/ud40_ortho_alt/config.h b/keyboards/checkerboards/ud40_ortho_alt/config.h
deleted file mode 100644
index 21d76ea1ac..0000000000
--- a/keyboards/checkerboards/ud40_ortho_alt/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Nathan Spears
- *
- * 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/checkerboards/ud40_ortho_alt/keyboard.json b/keyboards/checkerboards/ud40_ortho_alt/keyboard.json
index 4e025c181f..2aae3d1cc8 100644
--- a/keyboards/checkerboards/ud40_ortho_alt/keyboard.json
+++ b/keyboards/checkerboards/ud40_ortho_alt/keyboard.json
@@ -39,6 +39,12 @@
"rgblight": true,
"unicode": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "B1", "F7", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F5", "F6"],
"rows": ["E6", "F0", "F1", "F4"]
diff --git a/keyboards/cheshire/curiosity/config.h b/keyboards/cheshire/curiosity/config.h
deleted file mode 100644
index 2687b628f5..0000000000
--- a/keyboards/cheshire/curiosity/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2019 zvecr
-
-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/cheshire/curiosity/keyboard.json b/keyboards/cheshire/curiosity/keyboard.json
index 09b01e896f..679f2a45d1 100644
--- a/keyboards/cheshire/curiosity/keyboard.json
+++ b/keyboards/cheshire/curiosity/keyboard.json
@@ -34,6 +34,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
"rows": ["B13", "B14", "A4", "A2", "A1"]
diff --git a/keyboards/chickenman/ciel/config.h b/keyboards/chickenman/ciel/config.h
deleted file mode 100644
index 2a4bb26963..0000000000
--- a/keyboards/chickenman/ciel/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Koichi Katano, 2022 Ramon Imbao
-
-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/chickenman/ciel/keyboard.json b/keyboards/chickenman/ciel/keyboard.json
index d6813a23aa..554d41c394 100644
--- a/keyboards/chickenman/ciel/keyboard.json
+++ b/keyboards/chickenman/ciel/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C6", "B6", "B5", "B4", "B3", "B2", "B1", "D6", "D5", "D4", "D3", "D2", "D1", "D0", "C2"],
"rows": ["C5", "C4", "B0", "C7", "B7"]
diff --git a/keyboards/chlx/merro60/config.h b/keyboards/chlx/merro60/config.h
index 18198a8bce..c16e7f09f5 100644
--- a/keyboards/chlx/merro60/config.h
+++ b/keyboards/chlx/merro60/config.h
@@ -17,10 +17,5 @@ along with this program. If not, see .
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/* VIA related config */
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
diff --git a/keyboards/chlx/merro60/keyboard.json b/keyboards/chlx/merro60/keyboard.json
index d34489607a..700af7e7e7 100644
--- a/keyboards/chlx/merro60/keyboard.json
+++ b/keyboards/chlx/merro60/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B7", "D1", "D0", "B0", "B1", "E6", "B2", "B3", "D2", "D7", "B4", "B6", "C6", "C7", "D6"],
"rows": ["D4", "D5", "D3", "B5", "F4"]
diff --git a/keyboards/chlx/str_merro60/config.h b/keyboards/chlx/str_merro60/config.h
index 763f2a4d5c..2e886ebef5 100644
--- a/keyboards/chlx/str_merro60/config.h
+++ b/keyboards/chlx/str_merro60/config.h
@@ -19,10 +19,5 @@ along with this program. If not, see .
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/* VIA related config */
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
diff --git a/keyboards/chlx/str_merro60/keyboard.json b/keyboards/chlx/str_merro60/keyboard.json
index 15903f2f6c..cfd0286dd3 100644
--- a/keyboards/chlx/str_merro60/keyboard.json
+++ b/keyboards/chlx/str_merro60/keyboard.json
@@ -43,6 +43,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layout_aliases": {
"LAYOUT_default": "LAYOUT_all",
"LAYOUT_hhkb": "LAYOUT_60_hhkb",
diff --git a/keyboards/chosfox/cf81/config.h b/keyboards/chosfox/cf81/config.h
index 71e783f2bc..fea36a590c 100644
--- a/keyboards/chosfox/cf81/config.h
+++ b/keyboards/chosfox/cf81/config.h
@@ -16,11 +16,6 @@
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/* SPI Config for spi flash*/
#define SPI_DRIVER SPIDQ
#define SPI_SCK_PIN B3
diff --git a/keyboards/chosfox/cf81/keyboard.json b/keyboards/chosfox/cf81/keyboard.json
index de125801b7..aae2421a03 100644
--- a/keyboards/chosfox/cf81/keyboard.json
+++ b/keyboards/chosfox/cf81/keyboard.json
@@ -28,6 +28,12 @@
"encoder": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C1","C2","C3","A0","A1","A2","A3","A4","A5","A6","A7","C4","C5","B0","B1","B2"],
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
diff --git a/keyboards/citrus/erdnuss65/config.h b/keyboards/citrus/erdnuss65/config.h
index 5e4a88b9e2..b2cc067748 100644
--- a/keyboards/citrus/erdnuss65/config.h
+++ b/keyboards/citrus/erdnuss65/config.h
@@ -18,6 +18,3 @@
// The pin connected to the data pin of the LEDs
#define RGBLIGHT_LAYERS//允许您定义可打开或关闭的照明层。非常适合显示当前键盘层或大写锁定状态。
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF//如果已定义,则即使 RGB 光源处于关闭状态,也会显示照明图层。
-
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE//尝试使开关状态与键盘指示灯状态保持一致
\ No newline at end of file
diff --git a/keyboards/citrus/erdnuss65/keyboard.json b/keyboards/citrus/erdnuss65/keyboard.json
index 4faaa05431..43b075e2c6 100644
--- a/keyboards/citrus/erdnuss65/keyboard.json
+++ b/keyboards/citrus/erdnuss65/keyboard.json
@@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B12", "B14", "B15", "B5", "B13", "B3", "B4", "B6", "A0", "A1", "A2", "A3", "A4", "A5", "B11"],
"rows": ["B10", "B1", "B0", "A7", "A6"]
diff --git a/keyboards/ckeys/handwire_101/config.h b/keyboards/ckeys/handwire_101/config.h
index 95780766c5..d8c0c5d99d 100755
--- a/keyboards/ckeys/handwire_101/config.h
+++ b/keyboards/ckeys/handwire_101/config.h
@@ -17,11 +17,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
-
// Audio Click
//#define AUDIO_CLICKY
diff --git a/keyboards/ckeys/handwire_101/keyboard.json b/keyboards/ckeys/handwire_101/keyboard.json
index f8e2b383c2..642d0d8a25 100644
--- a/keyboards/ckeys/handwire_101/keyboard.json
+++ b/keyboards/ckeys/handwire_101/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6"],
"rows": ["F4", "F5", "F6", "F7"]
diff --git a/keyboards/ckeys/nakey/config.h b/keyboards/ckeys/nakey/config.h
deleted file mode 100644
index 60f42fbcda..0000000000
--- a/keyboards/ckeys/nakey/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2018 James Underwood
-
-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/ckeys/nakey/keyboard.json b/keyboards/ckeys/nakey/keyboard.json
index 1454858d9d..85f744217f 100644
--- a/keyboards/ckeys/nakey/keyboard.json
+++ b/keyboards/ckeys/nakey/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3"],
"rows": ["F1", "F4", "F5", "F6", "F7"]
diff --git a/keyboards/ckeys/obelus/config.h b/keyboards/ckeys/obelus/config.h
index 0588edea27..5c7585f562 100644
--- a/keyboards/ckeys/obelus/config.h
+++ b/keyboards/ckeys/obelus/config.h
@@ -17,11 +17,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
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/ckeys/obelus/keyboard.json b/keyboards/ckeys/obelus/keyboard.json
index 969e6a2d49..797bb870b9 100644
--- a/keyboards/ckeys/obelus/keyboard.json
+++ b/keyboards/ckeys/obelus/keyboard.json
@@ -18,6 +18,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "B2", "B3"],
"rows": ["F4", "F5", "F6", "F7"]
diff --git a/keyboards/ckeys/thedora/config.h b/keyboards/ckeys/thedora/config.h
index 8eaf7dc2f3..8dc681eccb 100755
--- a/keyboards/ckeys/thedora/config.h
+++ b/keyboards/ckeys/thedora/config.h
@@ -16,11 +16,6 @@
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define AUDIO_CLICKY
#define DAC_SAMPLE_MAX 65535U
diff --git a/keyboards/ckeys/thedora/keyboard.json b/keyboards/ckeys/thedora/keyboard.json
index 08448e761c..d287e81a0b 100644
--- a/keyboards/ckeys/thedora/keyboard.json
+++ b/keyboards/ckeys/thedora/keyboard.json
@@ -19,6 +19,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "B4", "B3", "B2", "B1", "B0"],
"rows": ["A2", "A1", "A0", "B8"]
diff --git a/keyboards/ckeys/washington/config.h b/keyboards/ckeys/washington/config.h
deleted file mode 100644
index 1b4e5a6d87..0000000000
--- a/keyboards/ckeys/washington/config.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-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/ckeys/washington/keyboard.json b/keyboards/ckeys/washington/keyboard.json
index b6952fe44a..b410e16f93 100644
--- a/keyboards/ckeys/washington/keyboard.json
+++ b/keyboards/ckeys/washington/keyboard.json
@@ -19,6 +19,12 @@
"nkro": false,
"oled": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "B1", "B3"],
"rows": ["F4", "F5", "F6"]
diff --git a/keyboards/clueboard/2x1800/2018/config.h b/keyboards/clueboard/2x1800/2018/config.h
index 95cde57668..ac6f646c64 100644
--- a/keyboards/clueboard/2x1800/2018/config.h
+++ b/keyboards/clueboard/2x1800/2018/config.h
@@ -22,9 +22,3 @@ along with this program. If not, see .
#define AUDIO_PIN_ALT B7
#define AUDIO_PIN C4
#define AUDIO_CLICKY
-
-/* 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/clueboard/2x1800/2018/keyboard.json b/keyboards/clueboard/2x1800/2018/keyboard.json
index fe0b521034..1a926c62b9 100644
--- a/keyboards/clueboard/2x1800/2018/keyboard.json
+++ b/keyboards/clueboard/2x1800/2018/keyboard.json
@@ -15,6 +15,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"num_lock": "B4",
"caps_lock": "B5",
diff --git a/keyboards/clueboard/2x1800/2021/config.h b/keyboards/clueboard/2x1800/2021/config.h
index eb4fd4bbf6..6cb7bd2c9f 100644
--- a/keyboards/clueboard/2x1800/2021/config.h
+++ b/keyboards/clueboard/2x1800/2021/config.h
@@ -23,12 +23,6 @@ along with this program. If not, see .
#define AUDIO_PIN C4
#define AUDIO_CLICKY
-/* 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
-
// Configure our MAX7219's
//#define MAX7219_LOAD B0
//#define MAX7219_CONTROLLERS 4
diff --git a/keyboards/clueboard/2x1800/2021/keyboard.json b/keyboards/clueboard/2x1800/2021/keyboard.json
index 8800d05cf2..b87c9fd755 100644
--- a/keyboards/clueboard/2x1800/2021/keyboard.json
+++ b/keyboards/clueboard/2x1800/2021/keyboard.json
@@ -13,6 +13,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"caps_lock": "B5",
"num_lock": "B4",