From bfa05cc5e7a41c0291690516c2954aaefde7d9b9 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 11:49:48 -0700
Subject: [PATCH] Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 1 (#23779)
Affects:
- `p3d/eu_isolation`
- `p3d/glitch`
- `p3d/q4z`
- `p3d/synapse`
- `p3d/tw40`
- `panc40`
- `papercranekeyboards/gerald65`
- `parallel/parallel_65/hotswap`
- `parallel/parallel_65/soldered`
- `pdxkbc`
- `pearlboards/atlas`
- `pearlboards/pandora`
- `pearlboards/pearl`
- `pearlboards/zeus`
- `pearlboards/zeuspad`
- `pegasus`
- `phantom`
- `phoenix`
- `picolab/frusta_fundamental`
- `pimentoso/paddino02/rev1`
- `pimentoso/paddino02/rev2/left`
- `pimentoso/paddino02/rev2/right`
- `pisces`
- `pizzakeyboards/pizza65`
- `pkb65`
- `planck`
- `playkbtw/ca66`
- `playkbtw/pk60`
- `playkbtw/pk64rgb`
- `pluckey`
- `plume/plume65`
- `plywrks/ahgase`
- `plywrks/lune`
- `pohjolaworks/louhi`
- `polycarbdiet/s20`
- `pom_keyboards/tnln95`
- `portal_66/hotswap`
- `portal_66/soldered`
- `pos78`
---
keyboards/p3d/eu_isolation/config.h | 21 ----------
keyboards/p3d/eu_isolation/keyboard.json | 6 +++
keyboards/p3d/glitch/config.h | 34 ----------------
keyboards/p3d/glitch/keyboard.json | 6 +++
keyboards/p3d/q4z/config.h | 21 ----------
keyboards/p3d/q4z/keyboard.json | 6 +++
keyboards/p3d/synapse/config.h | 19 ---------
keyboards/p3d/synapse/keyboard.json | 6 +++
keyboards/p3d/tw40/config.h | 22 -----------
keyboards/p3d/tw40/keyboard.json | 6 +++
keyboards/panc40/config.h | 7 ----
keyboards/panc40/keyboard.json | 6 +++
.../papercranekeyboards/gerald65/config.h | 25 ------------
.../gerald65/keyboard.json | 6 +++
.../parallel/parallel_65/hotswap/config.h | 39 -------------------
.../parallel_65/hotswap/keyboard.json | 6 +++
.../parallel/parallel_65/soldered/config.h | 39 -------------------
.../parallel_65/soldered/keyboard.json | 6 +++
keyboards/pdxkbc/config.h | 39 -------------------
keyboards/pdxkbc/keyboard.json | 6 +++
keyboards/pearlboards/atlas/config.h | 6 ---
keyboards/pearlboards/atlas/keyboard.json | 6 +++
keyboards/pearlboards/pandora/config.h | 24 ------------
keyboards/pearlboards/pandora/keyboard.json | 6 +++
keyboards/pearlboards/pearl/config.h | 6 ---
keyboards/pearlboards/pearl/keyboard.json | 6 +++
keyboards/pearlboards/zeus/config.h | 6 ---
keyboards/pearlboards/zeus/keyboard.json | 6 +++
keyboards/pearlboards/zeuspad/config.h | 6 ---
keyboards/pearlboards/zeuspad/keyboard.json | 6 +++
keyboards/pegasus/config.h | 39 -------------------
keyboards/pegasus/keyboard.json | 6 +++
keyboards/phantom/config.h | 39 -------------------
keyboards/phantom/keyboard.json | 6 +++
keyboards/phoenix/config.h | 3 --
keyboards/phoenix/keyboard.json | 6 +++
keyboards/picolab/frusta_fundamental/config.h | 23 -----------
.../picolab/frusta_fundamental/keyboard.json | 6 +++
keyboards/pimentoso/paddino02/rev1/config.h | 7 ----
.../pimentoso/paddino02/rev1/keyboard.json | 6 +++
.../pimentoso/paddino02/rev2/left/config.h | 7 ----
.../paddino02/rev2/left/keyboard.json | 6 +++
.../pimentoso/paddino02/rev2/right/config.h | 7 ----
.../paddino02/rev2/right/keyboard.json | 6 +++
keyboards/pisces/config.h | 5 ---
keyboards/pisces/keyboard.json | 6 +++
keyboards/pizzakeyboards/pizza65/config.h | 28 -------------
.../pizzakeyboards/pizza65/keyboard.json | 6 +++
keyboards/pkb65/config.h | 28 -------------
keyboards/pkb65/keyboard.json | 6 +++
keyboards/planck/config.h | 5 ---
keyboards/planck/info.json | 8 +++-
keyboards/playkbtw/ca66/config.h | 7 ----
keyboards/playkbtw/ca66/keyboard.json | 6 +++
keyboards/playkbtw/pk60/config.h | 7 ----
keyboards/playkbtw/pk60/keyboard.json | 6 +++
keyboards/playkbtw/pk64rgb/config.h | 5 ---
keyboards/playkbtw/pk64rgb/keyboard.json | 6 +++
keyboards/pluckey/config.h | 39 -------------------
keyboards/pluckey/keyboard.json | 6 +++
keyboards/plume/plume65/config.h | 38 ------------------
keyboards/plume/plume65/keyboard.json | 6 +++
keyboards/plywrks/ahgase/config.h | 23 -----------
keyboards/plywrks/ahgase/keyboard.json | 6 +++
keyboards/plywrks/lune/config.h | 23 -----------
keyboards/plywrks/lune/keyboard.json | 6 +++
keyboards/pohjolaworks/louhi/config.h | 39 -------------------
keyboards/pohjolaworks/louhi/keyboard.json | 6 +++
keyboards/polycarbdiet/s20/config.h | 22 -----------
keyboards/polycarbdiet/s20/keyboard.json | 6 +++
keyboards/pom_keyboards/tnln95/config.h | 22 -----------
keyboards/pom_keyboards/tnln95/keyboard.json | 6 +++
keyboards/portal_66/hotswap/config.h | 39 -------------------
keyboards/portal_66/hotswap/keyboard.json | 6 +++
keyboards/portal_66/soldered/config.h | 39 -------------------
keyboards/portal_66/soldered/keyboard.json | 6 +++
keyboards/pos78/config.h | 39 -------------------
keyboards/pos78/keyboard.json | 6 +++
78 files changed, 235 insertions(+), 848 deletions(-)
delete mode 100644 keyboards/p3d/eu_isolation/config.h
delete mode 100644 keyboards/p3d/glitch/config.h
delete mode 100644 keyboards/p3d/q4z/config.h
delete mode 100644 keyboards/p3d/synapse/config.h
delete mode 100644 keyboards/p3d/tw40/config.h
delete mode 100644 keyboards/panc40/config.h
delete mode 100644 keyboards/papercranekeyboards/gerald65/config.h
delete mode 100644 keyboards/parallel/parallel_65/hotswap/config.h
delete mode 100644 keyboards/parallel/parallel_65/soldered/config.h
delete mode 100644 keyboards/pdxkbc/config.h
delete mode 100644 keyboards/pearlboards/pandora/config.h
delete mode 100644 keyboards/pegasus/config.h
delete mode 100644 keyboards/phantom/config.h
delete mode 100644 keyboards/picolab/frusta_fundamental/config.h
delete mode 100755 keyboards/pimentoso/paddino02/rev1/config.h
delete mode 100755 keyboards/pimentoso/paddino02/rev2/left/config.h
delete mode 100755 keyboards/pimentoso/paddino02/rev2/right/config.h
delete mode 100644 keyboards/pizzakeyboards/pizza65/config.h
delete mode 100644 keyboards/pkb65/config.h
delete mode 100644 keyboards/playkbtw/ca66/config.h
delete mode 100644 keyboards/playkbtw/pk60/config.h
delete mode 100644 keyboards/pluckey/config.h
delete mode 100644 keyboards/plume/plume65/config.h
delete mode 100644 keyboards/plywrks/ahgase/config.h
delete mode 100644 keyboards/plywrks/lune/config.h
delete mode 100644 keyboards/pohjolaworks/louhi/config.h
delete mode 100644 keyboards/polycarbdiet/s20/config.h
delete mode 100644 keyboards/pom_keyboards/tnln95/config.h
delete mode 100644 keyboards/portal_66/hotswap/config.h
delete mode 100644 keyboards/portal_66/soldered/config.h
delete mode 100644 keyboards/pos78/config.h
diff --git a/keyboards/p3d/eu_isolation/config.h b/keyboards/p3d/eu_isolation/config.h
deleted file mode 100644
index de7206efe2..0000000000
--- a/keyboards/p3d/eu_isolation/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright 2020 Austin "TuckTuckFloof" Ashmore
-*
-* 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/p3d/eu_isolation/keyboard.json b/keyboards/p3d/eu_isolation/keyboard.json
index a94ee990ad..715515c42d 100644
--- a/keyboards/p3d/eu_isolation/keyboard.json
+++ b/keyboards/p3d/eu_isolation/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"],
"rows": ["D2", "D3", "F1", "F0"]
diff --git a/keyboards/p3d/glitch/config.h b/keyboards/p3d/glitch/config.h
deleted file mode 100644
index 0fc3805ff7..0000000000
--- a/keyboards/p3d/glitch/config.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-Copyright 2021 Matthew Dias
-
-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
diff --git a/keyboards/p3d/glitch/keyboard.json b/keyboards/p3d/glitch/keyboard.json
index 366707f807..5de1405f4f 100644
--- a/keyboards/p3d/glitch/keyboard.json
+++ b/keyboards/p3d/glitch/keyboard.json
@@ -20,6 +20,12 @@
"oled": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"],
"rows": ["D5", "D6", "B6", "D7", "C7", "B4", "B5", "D3", "D4", "C6"]
diff --git a/keyboards/p3d/q4z/config.h b/keyboards/p3d/q4z/config.h
deleted file mode 100644
index 67553a4432..0000000000
--- a/keyboards/p3d/q4z/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright 2021 rjboone
- *
- * 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/p3d/q4z/keyboard.json b/keyboards/p3d/q4z/keyboard.json
index 0b71df61b3..9dfa123c6c 100644
--- a/keyboards/p3d/q4z/keyboard.json
+++ b/keyboards/p3d/q4z/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D1", "D0", "D4", "B6", "B2", "B3", "B1", "F7", "F6", "F5"],
"rows": ["F4", "C6", "D7", "E6", "B4"]
diff --git a/keyboards/p3d/synapse/config.h b/keyboards/p3d/synapse/config.h
deleted file mode 100644
index 9f86bdabd7..0000000000
--- a/keyboards/p3d/synapse/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Copyright 2021 qpockets
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-#pragma once
-
-#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/p3d/synapse/keyboard.json b/keyboards/p3d/synapse/keyboard.json
index 277be632a5..accd9ad47e 100644
--- a/keyboards/p3d/synapse/keyboard.json
+++ b/keyboards/p3d/synapse/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": false
+ }
+ },
"matrix_pins": {
"cols": ["F0", "D4", "F5", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "B6"],
"rows": ["E6", "B0", "F4", "F1"]
diff --git a/keyboards/p3d/tw40/config.h b/keyboards/p3d/tw40/config.h
deleted file mode 100644
index 99549d9efa..0000000000
--- a/keyboards/p3d/tw40/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2020 KnoblesseOblige
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-#define LOCKING_SUPPORT_ENABLE
-
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/p3d/tw40/keyboard.json b/keyboards/p3d/tw40/keyboard.json
index 356b610b2a..459e187533 100644
--- a/keyboards/p3d/tw40/keyboard.json
+++ b/keyboards/p3d/tw40/keyboard.json
@@ -35,6 +35,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["B0", "D5", "D3", "D2"]
diff --git a/keyboards/panc40/config.h b/keyboards/panc40/config.h
deleted file mode 100644
index 5f36081323..0000000000
--- a/keyboards/panc40/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/panc40/keyboard.json b/keyboards/panc40/keyboard.json
index c1867903f9..fe98da7f2e 100644
--- a/keyboards/panc40/keyboard.json
+++ b/keyboards/panc40/keyboard.json
@@ -37,6 +37,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D0", "D1"],
"rows": ["F0", "F1", "F4", "F5"]
diff --git a/keyboards/papercranekeyboards/gerald65/config.h b/keyboards/papercranekeyboards/gerald65/config.h
deleted file mode 100644
index 7848476216..0000000000
--- a/keyboards/papercranekeyboards/gerald65/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2021 PaperCraneKeyboards (@PaperCraneKeyboards)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/papercranekeyboards/gerald65/keyboard.json b/keyboards/papercranekeyboards/gerald65/keyboard.json
index 1d2c8d40ae..255727d508 100644
--- a/keyboards/papercranekeyboards/gerald65/keyboard.json
+++ b/keyboards/papercranekeyboards/gerald65/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "F1", "F0", "D7", "D4", "D3", "D2", "D1", "D0", "B6", "C6", "C7"],
"rows": ["B7", "D6", "E6", "B4", "B5"]
diff --git a/keyboards/parallel/parallel_65/hotswap/config.h b/keyboards/parallel/parallel_65/hotswap/config.h
deleted file mode 100644
index 4dfd5e1d02..0000000000
--- a/keyboards/parallel/parallel_65/hotswap/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Matthew Dias
-
-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/parallel/parallel_65/hotswap/keyboard.json b/keyboards/parallel/parallel_65/hotswap/keyboard.json
index 1f59cd5734..8b1e31191f 100644
--- a/keyboards/parallel/parallel_65/hotswap/keyboard.json
+++ b/keyboards/parallel/parallel_65/hotswap/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
"rows": ["E6", "B7", "F7", "F4", "F5"]
diff --git a/keyboards/parallel/parallel_65/soldered/config.h b/keyboards/parallel/parallel_65/soldered/config.h
deleted file mode 100644
index 4dfd5e1d02..0000000000
--- a/keyboards/parallel/parallel_65/soldered/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Matthew Dias
-
-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/parallel/parallel_65/soldered/keyboard.json b/keyboards/parallel/parallel_65/soldered/keyboard.json
index fe87fb8444..2e8d049dbf 100644
--- a/keyboards/parallel/parallel_65/soldered/keyboard.json
+++ b/keyboards/parallel/parallel_65/soldered/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
"rows": ["E6", "B7", "F7", "F4", "F5"]
diff --git a/keyboards/pdxkbc/config.h b/keyboards/pdxkbc/config.h
deleted file mode 100644
index 2f8b6d1f5b..0000000000
--- a/keyboards/pdxkbc/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Franklin Harding
-
-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/pdxkbc/keyboard.json b/keyboards/pdxkbc/keyboard.json
index 2585c7ab38..642adc0878 100644
--- a/keyboards/pdxkbc/keyboard.json
+++ b/keyboards/pdxkbc/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D1", "E6"],
"rows": ["F7", "B6", "F4"]
diff --git a/keyboards/pearlboards/atlas/config.h b/keyboards/pearlboards/atlas/config.h
index 6fbdda292b..32f04f16ea 100644
--- a/keyboards/pearlboards/atlas/config.h
+++ b/keyboards/pearlboards/atlas/config.h
@@ -28,9 +28,3 @@ along with this program. If not, see .
/* Motor settings */
#define DRV2605L_RATED_VOLTAGE 3
#define DRV2605L_V_PEAK 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
diff --git a/keyboards/pearlboards/atlas/keyboard.json b/keyboards/pearlboards/atlas/keyboard.json
index 714a344c33..6886885e03 100644
--- a/keyboards/pearlboards/atlas/keyboard.json
+++ b/keyboards/pearlboards/atlas/keyboard.json
@@ -21,6 +21,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D5", "D4", "C1", "C2", "C3", "C5", "C7", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "F7"],
"rows": ["D6", "E1", "C0", "C4", "E3"]
diff --git a/keyboards/pearlboards/pandora/config.h b/keyboards/pearlboards/pandora/config.h
deleted file mode 100644
index 7efef3364b..0000000000
--- a/keyboards/pearlboards/pandora/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Koobaczech
-
-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/pearlboards/pandora/keyboard.json b/keyboards/pearlboards/pandora/keyboard.json
index 944e696ede..869852b58d 100644
--- a/keyboards/pearlboards/pandora/keyboard.json
+++ b/keyboards/pearlboards/pandora/keyboard.json
@@ -22,6 +22,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D1", "D0", "D3", "D5", "B5", "B6", "B7", "D4", "C6", "C7", "F0", "F1", "F4", "F7"],
"rows": ["B4", "D7", "D6", "B3", "B0"]
diff --git a/keyboards/pearlboards/pearl/config.h b/keyboards/pearlboards/pearl/config.h
index e0ed66359a..1667a0ad29 100644
--- a/keyboards/pearlboards/pearl/config.h
+++ b/keyboards/pearlboards/pearl/config.h
@@ -28,9 +28,3 @@ along with this program. If not, see .
/* Motor settings */
#define DRV2605L_RATED_VOLTAGE 3
#define DRV2605L_V_PEAK 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
diff --git a/keyboards/pearlboards/pearl/keyboard.json b/keyboards/pearlboards/pearl/keyboard.json
index 0dc6f9a7a5..e91192475f 100644
--- a/keyboards/pearlboards/pearl/keyboard.json
+++ b/keyboards/pearlboards/pearl/keyboard.json
@@ -20,6 +20,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "F1", "F4", "F5", "F6", "C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"],
"rows": ["D3", "F7", "F0", "E6"]
diff --git a/keyboards/pearlboards/zeus/config.h b/keyboards/pearlboards/zeus/config.h
index ae2ca44ab5..2c24e86511 100644
--- a/keyboards/pearlboards/zeus/config.h
+++ b/keyboards/pearlboards/zeus/config.h
@@ -32,9 +32,3 @@ along with this program. If not, see .
/* Motor settings */
#define DRV2605L_RATED_VOLTAGE 2
#define DRV2605L_V_PEAK 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
diff --git a/keyboards/pearlboards/zeus/keyboard.json b/keyboards/pearlboards/zeus/keyboard.json
index 4363917950..9a3e7ead5f 100644
--- a/keyboards/pearlboards/zeus/keyboard.json
+++ b/keyboards/pearlboards/zeus/keyboard.json
@@ -21,6 +21,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C2", "C0"],
"rows": ["F0", "C1", "E1", "E0", "D7", "D6"]
diff --git a/keyboards/pearlboards/zeuspad/config.h b/keyboards/pearlboards/zeuspad/config.h
index c012875d68..5c7c79c433 100644
--- a/keyboards/pearlboards/zeuspad/config.h
+++ b/keyboards/pearlboards/zeuspad/config.h
@@ -23,9 +23,3 @@ along with this program. If not, see .
/* Audio Function */
#define AUDIO_CLICKY
#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
diff --git a/keyboards/pearlboards/zeuspad/keyboard.json b/keyboards/pearlboards/zeuspad/keyboard.json
index 641840e4e5..6f67bd74b0 100644
--- a/keyboards/pearlboards/zeuspad/keyboard.json
+++ b/keyboards/pearlboards/zeuspad/keyboard.json
@@ -22,6 +22,12 @@
"oled": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "F0", "F5", "F6"],
"rows": ["D2", "D3", "D5", "F7", "F4", "F1"]
diff --git a/keyboards/pegasus/config.h b/keyboards/pegasus/config.h
deleted file mode 100644
index de6628cfbd..0000000000
--- a/keyboards/pegasus/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 melonbred
-
-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/pegasus/keyboard.json b/keyboards/pegasus/keyboard.json
index d5d2172ee0..4de1631379 100644
--- a/keyboards/pegasus/keyboard.json
+++ b/keyboards/pegasus/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5"],
"rows": ["F0", "F1", "F4", "E6"]
diff --git a/keyboards/phantom/config.h b/keyboards/phantom/config.h
deleted file mode 100644
index b9449c4714..0000000000
--- a/keyboards/phantom/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/phantom/keyboard.json b/keyboards/phantom/keyboard.json
index ab794b40f0..6f2b99b2b1 100644
--- a/keyboards/phantom/keyboard.json
+++ b/keyboards/phantom/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D5", "C7", "C6", "D4", "D0", "E6", "F0", "F1", "F4", "F5", "F6", "F7", "D7", "D6", "D1", "D2", "D3"],
"rows": ["B5", "B4", "B3", "B2", "B1", "B0"]
diff --git a/keyboards/phoenix/config.h b/keyboards/phoenix/config.h
index 9241950731..4903f19f7f 100644
--- a/keyboards/phoenix/config.h
+++ b/keyboards/phoenix/config.h
@@ -23,9 +23,6 @@
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define SPLIT_HAND_PIN B9
#define SERIAL_USART_DRIVER SD1
#define SERIAL_USART_TX_PAL_MODE 7
diff --git a/keyboards/phoenix/keyboard.json b/keyboards/phoenix/keyboard.json
index b6dd359966..51be9790fb 100644
--- a/keyboards/phoenix/keyboard.json
+++ b/keyboards/phoenix/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": false,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B10", "B12", "B13", "B14", "B15", "A8", "A10"],
"rows": ["B1", "B0", "A7", "A6", "A5", "B7"]
diff --git a/keyboards/picolab/frusta_fundamental/config.h b/keyboards/picolab/frusta_fundamental/config.h
deleted file mode 100644
index 916ca10b46..0000000000
--- a/keyboards/picolab/frusta_fundamental/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 PicoLab
- *
- * 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/picolab/frusta_fundamental/keyboard.json b/keyboards/picolab/frusta_fundamental/keyboard.json
index 6a47fb1327..56c145e03c 100644
--- a/keyboards/picolab/frusta_fundamental/keyboard.json
+++ b/keyboards/picolab/frusta_fundamental/keyboard.json
@@ -37,6 +37,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7", "D5", "D3", "D2", "D1", "D0"],
"rows": ["D4", "D6", "D7", "B4", "B5"]
diff --git a/keyboards/pimentoso/paddino02/rev1/config.h b/keyboards/pimentoso/paddino02/rev1/config.h
deleted file mode 100755
index 5f36081323..0000000000
--- a/keyboards/pimentoso/paddino02/rev1/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/pimentoso/paddino02/rev1/keyboard.json b/keyboards/pimentoso/paddino02/rev1/keyboard.json
index 681cbff926..74f11ab7ad 100644
--- a/keyboards/pimentoso/paddino02/rev1/keyboard.json
+++ b/keyboards/pimentoso/paddino02/rev1/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D7", "E6", "B4", "B5"],
"rows": ["D1", "D0", "D4"]
diff --git a/keyboards/pimentoso/paddino02/rev2/left/config.h b/keyboards/pimentoso/paddino02/rev2/left/config.h
deleted file mode 100755
index 5f36081323..0000000000
--- a/keyboards/pimentoso/paddino02/rev2/left/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/pimentoso/paddino02/rev2/left/keyboard.json b/keyboards/pimentoso/paddino02/rev2/left/keyboard.json
index 30be3a3836..8ba456e29e 100644
--- a/keyboards/pimentoso/paddino02/rev2/left/keyboard.json
+++ b/keyboards/pimentoso/paddino02/rev2/left/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D7", "E6", "B4", "B5"],
"rows": ["D0", "D4", "D1"]
diff --git a/keyboards/pimentoso/paddino02/rev2/right/config.h b/keyboards/pimentoso/paddino02/rev2/right/config.h
deleted file mode 100755
index 5f36081323..0000000000
--- a/keyboards/pimentoso/paddino02/rev2/right/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/pimentoso/paddino02/rev2/right/keyboard.json b/keyboards/pimentoso/paddino02/rev2/right/keyboard.json
index b4021c076d..4da270119b 100644
--- a/keyboards/pimentoso/paddino02/rev2/right/keyboard.json
+++ b/keyboards/pimentoso/paddino02/rev2/right/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1"],
"rows": ["F4", "F6", "F5"]
diff --git a/keyboards/pisces/config.h b/keyboards/pisces/config.h
index cbdce6f83e..c88e62a824 100644
--- a/keyboards/pisces/config.h
+++ b/keyboards/pisces/config.h
@@ -22,8 +22,3 @@
#define MATRIX_MASKED
#define SPLIT_USB_DETECT
-
-/* 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/pisces/keyboard.json b/keyboards/pisces/keyboard.json
index 2783f1085f..afdddfaf4d 100644
--- a/keyboards/pisces/keyboard.json
+++ b/keyboards/pisces/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B1", "B2", "B3", "B4", "B5", "B6", "B7"],
"rows": ["C4", "B0", "C7"]
diff --git a/keyboards/pizzakeyboards/pizza65/config.h b/keyboards/pizzakeyboards/pizza65/config.h
deleted file mode 100644
index 1500ab9b88..0000000000
--- a/keyboards/pizzakeyboards/pizza65/config.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-Copyright 2020 mmonte
-
-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/pizzakeyboards/pizza65/keyboard.json b/keyboards/pizzakeyboards/pizza65/keyboard.json
index 735cae4ac3..ee0a68dea5 100644
--- a/keyboards/pizzakeyboards/pizza65/keyboard.json
+++ b/keyboards/pizzakeyboards/pizza65/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A9", "A8", "F0", "A2", "A3", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14", "A13"],
"rows": ["B15", "A10", "F1", "A0", "A1"]
diff --git a/keyboards/pkb65/config.h b/keyboards/pkb65/config.h
deleted file mode 100644
index 7f37e40119..0000000000
--- a/keyboards/pkb65/config.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-
-Copyright 2021 MCKeebs
-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/pkb65/keyboard.json b/keyboards/pkb65/keyboard.json
index 7aea761565..d645d278b7 100644
--- a/keyboards/pkb65/keyboard.json
+++ b/keyboards/pkb65/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"],
"rows": ["C7", "C6", "B6", "B7", "F0"]
diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h
index 84c2fd11dc..469d237b86 100644
--- a/keyboards/planck/config.h
+++ b/keyboards/planck/config.h
@@ -20,11 +20,6 @@ along with this program. If not, see .
#define AUDIO_VOICES
#define AUDIO_PIN C6
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/planck/info.json b/keyboards/planck/info.json
index 3f92fa168d..39e9b3369a 100644
--- a/keyboards/planck/info.json
+++ b/keyboards/planck/info.json
@@ -1,4 +1,10 @@
{
"url": "https://olkb.com/planck",
- "maintainer": "jackhumbert"
+ "maintainer": "jackhumbert",
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ }
}
diff --git a/keyboards/playkbtw/ca66/config.h b/keyboards/playkbtw/ca66/config.h
deleted file mode 100644
index 5f36081323..0000000000
--- a/keyboards/playkbtw/ca66/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/playkbtw/ca66/keyboard.json b/keyboards/playkbtw/ca66/keyboard.json
index 73a2efe1d3..d94a8d6b4d 100644
--- a/keyboards/playkbtw/ca66/keyboard.json
+++ b/keyboards/playkbtw/ca66/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "F6", "B7", "E6"],
"rows": ["F5", "F4", "F1", "B0", "B3"]
diff --git a/keyboards/playkbtw/pk60/config.h b/keyboards/playkbtw/pk60/config.h
deleted file mode 100644
index 5f36081323..0000000000
--- a/keyboards/playkbtw/pk60/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/playkbtw/pk60/keyboard.json b/keyboards/playkbtw/pk60/keyboard.json
index a11348d2e6..15de711ad1 100644
--- a/keyboards/playkbtw/pk60/keyboard.json
+++ b/keyboards/playkbtw/pk60/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", "F7", "B5", "B4", "D7", "D6", "B3", "B2"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/playkbtw/pk64rgb/config.h b/keyboards/playkbtw/pk64rgb/config.h
index abcdafdbd0..76f02334b4 100644
--- a/keyboards/playkbtw/pk64rgb/config.h
+++ b/keyboards/playkbtw/pk64rgb/config.h
@@ -19,8 +19,3 @@
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
#define RGB_MATRIX_LED_COUNT 64
-
-/* 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/playkbtw/pk64rgb/keyboard.json b/keyboards/playkbtw/pk64rgb/keyboard.json
index d3a757d714..1f200e2089 100644
--- a/keyboards/playkbtw/pk64rgb/keyboard.json
+++ b/keyboards/playkbtw/pk64rgb/keyboard.json
@@ -27,6 +27,12 @@
"rgblight": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7"],
"rows": ["D7", "D6", "D5", "D3", "D2"]
diff --git a/keyboards/pluckey/config.h b/keyboards/pluckey/config.h
deleted file mode 100644
index fc758dec34..0000000000
--- a/keyboards/pluckey/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 floookay
-
-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/pluckey/keyboard.json b/keyboards/pluckey/keyboard.json
index 52e951e875..9517bf54b4 100644
--- a/keyboards/pluckey/keyboard.json
+++ b/keyboards/pluckey/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6", "D7", "E6", "F7"],
"rows": ["B4", "F5", "F6", "B6", "B5"]
diff --git a/keyboards/plume/plume65/config.h b/keyboards/plume/plume65/config.h
deleted file mode 100644
index 4183c7db05..0000000000
--- a/keyboards/plume/plume65/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright 2020 Evy Dekkers
- *
- * 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/plume/plume65/keyboard.json b/keyboards/plume/plume65/keyboard.json
index f0b6097a18..46f264e43e 100644
--- a/keyboards/plume/plume65/keyboard.json
+++ b/keyboards/plume/plume65/keyboard.json
@@ -35,6 +35,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B7", "F7", "C7", "C6", "B6", "F0", "B5", "F1", "B4", "F4", "D7", "F5", "D6", "F6", "D4"],
"rows": ["D2", "D5", "E6", "D0", "D1"]
diff --git a/keyboards/plywrks/ahgase/config.h b/keyboards/plywrks/ahgase/config.h
deleted file mode 100644
index 06b97ae4ab..0000000000
--- a/keyboards/plywrks/ahgase/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 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
diff --git a/keyboards/plywrks/ahgase/keyboard.json b/keyboards/plywrks/ahgase/keyboard.json
index b98d4f69ee..9c1da6d579 100644
--- a/keyboards/plywrks/ahgase/keyboard.json
+++ b/keyboards/plywrks/ahgase/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D4", "D5", "B0", "B1", "D1"],
"rows": ["B2", "B3", "B7", "D6", "D3", "D2"]
diff --git a/keyboards/plywrks/lune/config.h b/keyboards/plywrks/lune/config.h
deleted file mode 100644
index 06b97ae4ab..0000000000
--- a/keyboards/plywrks/lune/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 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
diff --git a/keyboards/plywrks/lune/keyboard.json b/keyboards/plywrks/lune/keyboard.json
index 9368627e98..5ec1d97c6b 100644
--- a/keyboards/plywrks/lune/keyboard.json
+++ b/keyboards/plywrks/lune/keyboard.json
@@ -36,6 +36,12 @@
"oled": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "D4", "D5", "D3", "D2"],
"rows": ["F1", "F0", "B7", "B0", "B6", "B5", "D7", "B4", "D6"]
diff --git a/keyboards/pohjolaworks/louhi/config.h b/keyboards/pohjolaworks/louhi/config.h
deleted file mode 100644
index 9dbdc01050..0000000000
--- a/keyboards/pohjolaworks/louhi/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Erkki Halinen
-
-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/pohjolaworks/louhi/keyboard.json b/keyboards/pohjolaworks/louhi/keyboard.json
index 7edf153556..90d7a96433 100644
--- a/keyboards/pohjolaworks/louhi/keyboard.json
+++ b/keyboards/pohjolaworks/louhi/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "B6", "F4", "F5", "F6", "F7", "B1"],
"rows": ["D3", "D2", "D1", "D0", "D7", "C6", "B4", "E6"]
diff --git a/keyboards/polycarbdiet/s20/config.h b/keyboards/polycarbdiet/s20/config.h
deleted file mode 100644
index fcff1b29cf..0000000000
--- a/keyboards/polycarbdiet/s20/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 Muhammad Galib (polycarbdiet)
-
-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/polycarbdiet/s20/keyboard.json b/keyboards/polycarbdiet/s20/keyboard.json
index e734673ffc..f87429b4a7 100644
--- a/keyboards/polycarbdiet/s20/keyboard.json
+++ b/keyboards/polycarbdiet/s20/keyboard.json
@@ -19,6 +19,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C6", "C7", "D4", "D6"],
"rows": ["B7", "E6", "D0", "D1", "D5"]
diff --git a/keyboards/pom_keyboards/tnln95/config.h b/keyboards/pom_keyboards/tnln95/config.h
deleted file mode 100644
index d1b911c4c4..0000000000
--- a/keyboards/pom_keyboards/tnln95/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2020 Nguyen Minh Hoang
-
-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/pom_keyboards/tnln95/keyboard.json b/keyboards/pom_keyboards/tnln95/keyboard.json
index 8e8de4403d..c92ac5b38f 100644
--- a/keyboards/pom_keyboards/tnln95/keyboard.json
+++ b/keyboards/pom_keyboards/tnln95/keyboard.json
@@ -21,6 +21,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F1", "F0", "F6", "F7", "D0", "D1", "D2", "D3", "D5"],
"rows": ["B6", "B4", "B0", "D7", "E6", "D4", "F5", "D6", "C6", "B5"]
diff --git a/keyboards/portal_66/hotswap/config.h b/keyboards/portal_66/hotswap/config.h
deleted file mode 100644
index 4dfd5e1d02..0000000000
--- a/keyboards/portal_66/hotswap/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Matthew Dias
-
-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/portal_66/hotswap/keyboard.json b/keyboards/portal_66/hotswap/keyboard.json
index 764d0f6205..266ca516ec 100644
--- a/keyboards/portal_66/hotswap/keyboard.json
+++ b/keyboards/portal_66/hotswap/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
"rows": ["E6", "B7", "F7", "F4", "F5"]
diff --git a/keyboards/portal_66/soldered/config.h b/keyboards/portal_66/soldered/config.h
deleted file mode 100644
index 4dfd5e1d02..0000000000
--- a/keyboards/portal_66/soldered/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Matthew Dias
-
-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/portal_66/soldered/keyboard.json b/keyboards/portal_66/soldered/keyboard.json
index 0f0ac6b184..369a6efa13 100644
--- a/keyboards/portal_66/soldered/keyboard.json
+++ b/keyboards/portal_66/soldered/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
"rows": ["E6", "B7", "F7", "F4", "F5"]
diff --git a/keyboards/pos78/config.h b/keyboards/pos78/config.h
deleted file mode 100644
index 4739dcb2ad..0000000000
--- a/keyboards/pos78/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 smssmssms
-
-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/pos78/keyboard.json b/keyboards/pos78/keyboard.json
index b9902195e3..0a6a814155 100644
--- a/keyboards/pos78/keyboard.json
+++ b/keyboards/pos78/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "B1", "D2", "D3", "D1", "D0", "C6", "E6", "B5", "B6", "B7", "D6", "C7"],
"rows": ["F0", "F1", "F4", "F5", "F6", "F7"]