From f37f27f02a55f750c21f671e712e3f704ba57885 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 11:49:30 -0700
Subject: [PATCH 1/3] Migrate `LOCKING_*_ENABLE` to Data-Driven: O (#23778)
Affects:
- `oddball`
- `oddforge/vea`
- `ok60`
- `om60`
- `omkbd/ergodash/mini`
- `omkbd/ergodash/rev1`
- `omkbd/runner3680/3x6`
- `omkbd/runner3680/3x7`
- `omkbd/runner3680/3x8`
- `omkbd/runner3680/4x6`
- `omkbd/runner3680/4x7`
- `omkbd/runner3680/4x8`
- `omkbd/runner3680/5x6`
- `omkbd/runner3680/5x6_5x8`
- `omkbd/runner3680/5x7`
- `omkbd/runner3680/5x8`
- `omnikeyish`
- `orange75`
- `org60`
- `ortho5by12`
- `orthocode`
---
keyboards/oddball/config.h | 5 ----
keyboards/oddball/info.json | 6 +++++
keyboards/oddforge/vea/config.h | 3 ---
keyboards/oddforge/vea/keyboard.json | 6 +++++
keyboards/ok60/config.h | 24 -------------------
keyboards/ok60/keyboard.json | 6 +++++
keyboards/om60/config.h | 5 ----
keyboards/om60/keyboard.json | 6 ++++-
keyboards/omkbd/ergodash/mini/config.h | 5 ----
keyboards/omkbd/ergodash/mini/keyboard.json | 6 +++++
keyboards/omkbd/ergodash/rev1/config.h | 5 ----
keyboards/omkbd/ergodash/rev1/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/3x6/config.h | 5 ----
keyboards/omkbd/runner3680/3x6/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/3x7/config.h | 5 ----
keyboards/omkbd/runner3680/3x7/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/3x8/config.h | 5 ----
keyboards/omkbd/runner3680/3x8/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/4x6/config.h | 5 ----
keyboards/omkbd/runner3680/4x6/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/4x7/config.h | 5 ----
keyboards/omkbd/runner3680/4x7/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/4x8/config.h | 5 ----
keyboards/omkbd/runner3680/4x8/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/5x6/config.h | 5 ----
keyboards/omkbd/runner3680/5x6/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/5x6_5x8/config.h | 5 ----
.../omkbd/runner3680/5x6_5x8/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/5x7/config.h | 5 ----
keyboards/omkbd/runner3680/5x7/keyboard.json | 6 +++++
keyboards/omkbd/runner3680/5x8/config.h | 5 ----
keyboards/omkbd/runner3680/5x8/keyboard.json | 6 +++++
keyboards/omnikeyish/config.h | 6 -----
keyboards/omnikeyish/keyboard.json | 6 +++++
keyboards/orange75/config.h | 7 ------
keyboards/orange75/keyboard.json | 6 +++++
keyboards/org60/config.h | 23 ------------------
keyboards/org60/keyboard.json | 6 +++++
keyboards/ortho5by12/config.h | 20 ----------------
keyboards/ortho5by12/keyboard.json | 6 +++++
keyboards/orthocode/config.h | 22 -----------------
keyboards/orthocode/keyboard.json | 6 ++++-
42 files changed, 124 insertions(+), 177 deletions(-)
delete mode 100644 keyboards/ok60/config.h
delete mode 100644 keyboards/orange75/config.h
delete mode 100644 keyboards/org60/config.h
delete mode 100644 keyboards/ortho5by12/config.h
delete mode 100644 keyboards/orthocode/config.h
diff --git a/keyboards/oddball/config.h b/keyboards/oddball/config.h
index 71c4ecd4dbb..73d4cbe862a 100644
--- a/keyboards/oddball/config.h
+++ b/keyboards/oddball/config.h
@@ -21,11 +21,6 @@
#define SPLIT_USB_DETECT
#define MASTER_RIGHT
-/* 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
-
/* optical sensor settings */
#define SCROLL_DIVIDER 12
#define CPI_1 2000
diff --git a/keyboards/oddball/info.json b/keyboards/oddball/info.json
index fdbb8b2b1db..3e6ffb0a90f 100644
--- a/keyboards/oddball/info.json
+++ b/keyboards/oddball/info.json
@@ -15,6 +15,12 @@
"nkro": false,
"pointing_device": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"split": {
"enabled": true
},
diff --git a/keyboards/oddforge/vea/config.h b/keyboards/oddforge/vea/config.h
index 316f8392c0d..c31783065cb 100644
--- a/keyboards/oddforge/vea/config.h
+++ b/keyboards/oddforge/vea/config.h
@@ -21,7 +21,4 @@ along with this program. If not, see .
#define MATRIX_ROWS 8
#define MATRIX_COLS 15
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE
-
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9
diff --git a/keyboards/oddforge/vea/keyboard.json b/keyboards/oddforge/vea/keyboard.json
index 6a6780ea53c..a93f843aa06 100644
--- a/keyboards/oddforge/vea/keyboard.json
+++ b/keyboards/oddforge/vea/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "D4"
},
diff --git a/keyboards/ok60/config.h b/keyboards/ok60/config.h
deleted file mode 100644
index 74f7ff51815..00000000000
--- a/keyboards/ok60/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2018 Edward Browncross
-
-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/ok60/keyboard.json b/keyboards/ok60/keyboard.json
index f6459907bea..5cf55b666d6 100644
--- a/keyboards/ok60/keyboard.json
+++ b/keyboards/ok60/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "B6", "C6", "C7", "F1", "F0", "E6", "B3", "B2", "B1", "B0"],
"rows": ["B5", "B4", "D7", "D6", "D4"]
diff --git a/keyboards/om60/config.h b/keyboards/om60/config.h
index e5c8d9426ab..1a6dfd12813 100644
--- a/keyboards/om60/config.h
+++ b/keyboards/om60/config.h
@@ -29,11 +29,6 @@ along with this program. If not, see .
#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, E6 }
-/* 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
-
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 90
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/om60/keyboard.json b/keyboards/om60/keyboard.json
index 22386db039a..08eb898b014 100644
--- a/keyboards/om60/keyboard.json
+++ b/keyboards/om60/keyboard.json
@@ -22,7 +22,11 @@
]
},
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgblight": {
"hue_steps": 10,
diff --git a/keyboards/omkbd/ergodash/mini/config.h b/keyboards/omkbd/ergodash/mini/config.h
index 26543ebb9df..12b408ff562 100644
--- a/keyboards/omkbd/ergodash/mini/config.h
+++ b/keyboards/omkbd/ergodash/mini/config.h
@@ -20,11 +20,6 @@ along with this program. If not, see .
#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
-
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/ergodash/mini/keyboard.json b/keyboards/omkbd/ergodash/mini/keyboard.json
index 04233261779..6286b73b90d 100644
--- a/keyboards/omkbd/ergodash/mini/keyboard.json
+++ b/keyboards/omkbd/ergodash/mini/keyboard.json
@@ -14,6 +14,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],
"rows": ["D7", "E6", "B4", "B5"]
diff --git a/keyboards/omkbd/ergodash/rev1/config.h b/keyboards/omkbd/ergodash/rev1/config.h
index 26543ebb9df..12b408ff562 100644
--- a/keyboards/omkbd/ergodash/rev1/config.h
+++ b/keyboards/omkbd/ergodash/rev1/config.h
@@ -20,11 +20,6 @@ along with this program. If not, see .
#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
-
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/ergodash/rev1/keyboard.json b/keyboards/omkbd/ergodash/rev1/keyboard.json
index 07405e22f72..fb4a1c22549 100644
--- a/keyboards/omkbd/ergodash/rev1/keyboard.json
+++ b/keyboards/omkbd/ergodash/rev1/keyboard.json
@@ -14,6 +14,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],
"rows": ["D4", "D7", "E6", "B4", "B5"]
diff --git a/keyboards/omkbd/runner3680/3x6/config.h b/keyboards/omkbd/runner3680/3x6/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/3x6/config.h
+++ b/keyboards/omkbd/runner3680/3x6/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/3x6/keyboard.json b/keyboards/omkbd/runner3680/3x6/keyboard.json
index f2a169d2288..3e1ab5ba824 100644
--- a/keyboards/omkbd/runner3680/3x6/keyboard.json
+++ b/keyboards/omkbd/runner3680/3x6/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7"]
diff --git a/keyboards/omkbd/runner3680/3x7/config.h b/keyboards/omkbd/runner3680/3x7/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/3x7/config.h
+++ b/keyboards/omkbd/runner3680/3x7/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/3x7/keyboard.json b/keyboards/omkbd/runner3680/3x7/keyboard.json
index e4b36983e73..496be949256 100644
--- a/keyboards/omkbd/runner3680/3x7/keyboard.json
+++ b/keyboards/omkbd/runner3680/3x7/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7"]
diff --git a/keyboards/omkbd/runner3680/3x8/config.h b/keyboards/omkbd/runner3680/3x8/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/3x8/config.h
+++ b/keyboards/omkbd/runner3680/3x8/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/3x8/keyboard.json b/keyboards/omkbd/runner3680/3x8/keyboard.json
index e001332796c..80719fd0e47 100644
--- a/keyboards/omkbd/runner3680/3x8/keyboard.json
+++ b/keyboards/omkbd/runner3680/3x8/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7"]
diff --git a/keyboards/omkbd/runner3680/4x6/config.h b/keyboards/omkbd/runner3680/4x6/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/4x6/config.h
+++ b/keyboards/omkbd/runner3680/4x6/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/4x6/keyboard.json b/keyboards/omkbd/runner3680/4x6/keyboard.json
index 6568a9e845e..f9d3146a785 100644
--- a/keyboards/omkbd/runner3680/4x6/keyboard.json
+++ b/keyboards/omkbd/runner3680/4x6/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
diff --git a/keyboards/omkbd/runner3680/4x7/config.h b/keyboards/omkbd/runner3680/4x7/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/4x7/config.h
+++ b/keyboards/omkbd/runner3680/4x7/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/4x7/keyboard.json b/keyboards/omkbd/runner3680/4x7/keyboard.json
index 88f3bdd18de..120e254e5cc 100644
--- a/keyboards/omkbd/runner3680/4x7/keyboard.json
+++ b/keyboards/omkbd/runner3680/4x7/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
diff --git a/keyboards/omkbd/runner3680/4x8/config.h b/keyboards/omkbd/runner3680/4x8/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/4x8/config.h
+++ b/keyboards/omkbd/runner3680/4x8/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/4x8/keyboard.json b/keyboards/omkbd/runner3680/4x8/keyboard.json
index 1ee1d482c92..e0b91088da0 100644
--- a/keyboards/omkbd/runner3680/4x8/keyboard.json
+++ b/keyboards/omkbd/runner3680/4x8/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
diff --git a/keyboards/omkbd/runner3680/5x6/config.h b/keyboards/omkbd/runner3680/5x6/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/5x6/config.h
+++ b/keyboards/omkbd/runner3680/5x6/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/5x6/keyboard.json b/keyboards/omkbd/runner3680/5x6/keyboard.json
index 28fddf18738..c06bff537fb 100644
--- a/keyboards/omkbd/runner3680/5x6/keyboard.json
+++ b/keyboards/omkbd/runner3680/5x6/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
diff --git a/keyboards/omkbd/runner3680/5x6_5x8/config.h b/keyboards/omkbd/runner3680/5x6_5x8/config.h
index 8cf1e8238d3..b6f3f5ff865 100644
--- a/keyboards/omkbd/runner3680/5x6_5x8/config.h
+++ b/keyboards/omkbd/runner3680/5x6_5x8/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/5x6_5x8/keyboard.json b/keyboards/omkbd/runner3680/5x6_5x8/keyboard.json
index 8a7b34597e1..4c359b27ebd 100644
--- a/keyboards/omkbd/runner3680/5x6_5x8/keyboard.json
+++ b/keyboards/omkbd/runner3680/5x6_5x8/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x5658",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgb_matrix": {
"driver": "ws2812",
"split_count": [30, 40]
diff --git a/keyboards/omkbd/runner3680/5x7/config.h b/keyboards/omkbd/runner3680/5x7/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/5x7/config.h
+++ b/keyboards/omkbd/runner3680/5x7/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/5x7/keyboard.json b/keyboards/omkbd/runner3680/5x7/keyboard.json
index 10a833a839e..55936eb9d36 100644
--- a/keyboards/omkbd/runner3680/5x7/keyboard.json
+++ b/keyboards/omkbd/runner3680/5x7/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
diff --git a/keyboards/omkbd/runner3680/5x8/config.h b/keyboards/omkbd/runner3680/5x8/config.h
index c0a755e251b..2b0210d2be2 100644
--- a/keyboards/omkbd/runner3680/5x8/config.h
+++ b/keyboards/omkbd/runner3680/5x8/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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
diff --git a/keyboards/omkbd/runner3680/5x8/keyboard.json b/keyboards/omkbd/runner3680/5x8/keyboard.json
index 8b2ca0142ce..9e96e69bbb8 100644
--- a/keyboards/omkbd/runner3680/5x8/keyboard.json
+++ b/keyboards/omkbd/runner3680/5x8/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
diff --git a/keyboards/omnikeyish/config.h b/keyboards/omnikeyish/config.h
index c4edb8427c6..ad307854e03 100644
--- a/keyboards/omnikeyish/config.h
+++ b/keyboards/omnikeyish/config.h
@@ -14,12 +14,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define DYNAMIC_MACRO_COUNT 12
#define DYNAMIC_MACRO_SIZE 48
#define DYNAMIC_MACRO_EEPROM_STORAGE
diff --git a/keyboards/omnikeyish/keyboard.json b/keyboards/omnikeyish/keyboard.json
index cd61f2954bb..82363b10bfa 100644
--- a/keyboards/omnikeyish/keyboard.json
+++ b/keyboards/omnikeyish/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"caps_lock": "E1",
"num_lock": "E0",
diff --git a/keyboards/orange75/config.h b/keyboards/orange75/config.h
deleted file mode 100644
index 5f360813239..00000000000
--- a/keyboards/orange75/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/orange75/keyboard.json b/keyboards/orange75/keyboard.json
index 4208cc0f586..a0ef8196513 100644
--- a/keyboards/orange75/keyboard.json
+++ b/keyboards/orange75/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D3", "D2", "D1", "D0", "B7", "B3"],
"rows": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B4", "D7", "D4", "D5", "D6"]
diff --git a/keyboards/org60/config.h b/keyboards/org60/config.h
deleted file mode 100644
index 4e596948184..00000000000
--- a/keyboards/org60/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2012 Jun Wako
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/org60/keyboard.json b/keyboards/org60/keyboard.json
index d4994346af2..2586d16b083 100644
--- a/keyboards/org60/keyboard.json
+++ b/keyboards/org60/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
diff --git a/keyboards/ortho5by12/config.h b/keyboards/ortho5by12/config.h
deleted file mode 100644
index 2e979809874..00000000000
--- a/keyboards/ortho5by12/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2019 Takuya Urakawa (dm9records.com)
-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/ortho5by12/keyboard.json b/keyboards/ortho5by12/keyboard.json
index c45788ba2fe..49ce4944175 100644
--- a/keyboards/ortho5by12/keyboard.json
+++ b/keyboards/ortho5by12/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C2", "D0", "D1", "D4", "C3", "C1"],
"rows": ["B5", "B1", "B2", "B3", "B4", "C0", "D5", "D6", "D7", "B0"]
diff --git a/keyboards/orthocode/config.h b/keyboards/orthocode/config.h
deleted file mode 100644
index 3cc80db3764..00000000000
--- a/keyboards/orthocode/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*Copyright 2020 Jrodna
-
-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/orthocode/keyboard.json b/keyboards/orthocode/keyboard.json
index 69f3374b27f..11c720c6b1d 100644
--- a/keyboards/orthocode/keyboard.json
+++ b/keyboards/orthocode/keyboard.json
@@ -31,7 +31,11 @@
]
},
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgblight": {
"saturation_steps": 8,
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 2/3] 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 de7206efe2a..00000000000
--- 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 a94ee990ad2..715515c42d3 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 0fc3805ff7f..00000000000
--- 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 366707f807d..5de1405f4ff 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 67553a44320..00000000000
--- 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 0b71df61b3a..9dfa123c6c1 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 9f86bdabd72..00000000000
--- 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 277be632a5a..accd9ad47ed 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 99549d9efa1..00000000000
--- 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 356b610b2a5..459e187533d 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 5f360813239..00000000000
--- 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 c1867903f9a..fe98da7f2e8 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 7848476216d..00000000000
--- 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 1d2c8d40ae2..255727d508c 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 4dfd5e1d021..00000000000
--- 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 1f59cd5734c..8b1e31191f9 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 4dfd5e1d021..00000000000
--- 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 fe87fb84449..2e8d049dbf6 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 2f8b6d1f5b3..00000000000
--- 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 2585c7ab389..642adc08787 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 6fbdda292b5..32f04f16ead 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 714a344c33a..6886885e03b 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 7efef3364bf..00000000000
--- 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 944e696edec..869852b58d6 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 e0ed66359a6..1667a0ad29a 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 0dc6f9a7a5e..e91192475f5 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 ae2ca44ab55..2c24e86511e 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 43639179509..9a3e7ead5fa 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 c012875d68c..5c7c79c433d 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 641840e4e55..6f67bd74b08 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 de6628cfbd8..00000000000
--- 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 d5d2172ee0d..4de1631379e 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 b9449c4714b..00000000000
--- 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 ab794b40f09..6f2b99b2b11 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 92419507312..4903f19f7f1 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 b6dd3599662..51be9790fb5 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 916ca10b460..00000000000
--- 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 6a47fb13272..56c145e03c6 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 5f360813239..00000000000
--- 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 681cbff9261..74f11ab7ad9 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 5f360813239..00000000000
--- 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 30be3a3836e..8ba456e29e1 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 5f360813239..00000000000
--- 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 b4021c076de..4da270119b3 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 cbdce6f83e5..c88e62a824f 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 2783f1085fd..afdddfaf4d1 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 1500ab9b880..00000000000
--- 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 735cae4ac3f..ee0a68dea5c 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 7f37e401190..00000000000
--- 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 7aea7615650..d645d278b7e 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 84c2fd11dcb..469d237b861 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 3f92fa168d4..39e9b3369a5 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 5f360813239..00000000000
--- 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 73a2efe1d30..d94a8d6b4d7 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 5f360813239..00000000000
--- 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 a11348d2e6c..15de711ad1c 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 abcdafdbd00..76f02334b4d 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 d3a757d714b..1f200e2089f 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 fc758dec34e..00000000000
--- 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 52e951e875c..9517bf54b48 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 4183c7db05e..00000000000
--- 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 f0b6097a186..46f264e43e7 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 06b97ae4ab8..00000000000
--- 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 b98d4f69ee9..9c1da6d5793 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 06b97ae4ab8..00000000000
--- 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 9368627e981..5ec1d97c6bb 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 9dbdc010503..00000000000
--- 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 7edf1535561..90d7a964336 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 fcff1b29cfc..00000000000
--- 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 e734673ffc6..f87429b4a7a 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 d1b911c4c4a..00000000000
--- 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 8e8de4403df..c92ac5b38f1 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 4dfd5e1d021..00000000000
--- 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 764d0f62053..266ca516ece 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 4dfd5e1d021..00000000000
--- 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 0f0ac6b1844..369a6efa13b 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 4739dcb2ad3..00000000000
--- 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 b9902195e3f..0a6a8141554 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"]
From c4e182b98e0b072dd97133b71b01f59f0eb07501 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 11:49:53 -0700
Subject: [PATCH 3/3] Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 2
(#23780)
Affects:
- `preonic/rev1`
- `preonic/rev2`
- `preonic/rev3`
- `preonic/rev3_drop`
- `primekb/meridian/ktr1010`
- `primekb/meridian/ws2812`
- `primekb/meridian_rgb`
- `primekb/prime_m`
- `primekb/prime_o`
- `primekb/prime_r`
- `projectcain/relic`
- `projectcain/vault45`
- `projectd/65/projectd_65_ansi`
- `projectd/75/ansi`
- `projectkb/alice/rev1`
- `projectkb/alice/rev2`
- `projectkb/signature65`
- `projectkb/signature87`
- `prototypist/allison`
- `prototypist/allison_numpad`
- `prototypist/j01`
- `psuieee/pluto12`
- `pteron36`
- `puck`
- `punk75`
---
keyboards/preonic/config.h | 5 ---
keyboards/preonic/rev1/keyboard.json | 6 +++
keyboards/preonic/rev2/keyboard.json | 6 +++
keyboards/preonic/rev3/keyboard.json | 6 +++
keyboards/preonic/rev3_drop/keyboard.json | 6 +++
keyboards/primekb/meridian/config.h | 5 ---
keyboards/primekb/meridian/info.json | 6 +++
keyboards/primekb/meridian/ktr1010/config.h | 5 ---
keyboards/primekb/meridian/ws2812/config.h | 5 ---
keyboards/primekb/meridian_rgb/config.h | 23 -----------
keyboards/primekb/meridian_rgb/keyboard.json | 6 +++
keyboards/primekb/prime_m/config.h | 24 ------------
keyboards/primekb/prime_m/keyboard.json | 6 +++
keyboards/primekb/prime_o/config.h | 23 -----------
keyboards/primekb/prime_o/keyboard.json | 6 +++
keyboards/primekb/prime_r/config.h | 24 ------------
keyboards/primekb/prime_r/keyboard.json | 6 +++
keyboards/projectcain/relic/config.h | 39 -------------------
keyboards/projectcain/relic/keyboard.json | 6 +++
keyboards/projectcain/vault45/config.h | 39 -------------------
keyboards/projectcain/vault45/keyboard.json | 6 +++
.../projectd/65/projectd_65_ansi/config.h | 5 ---
.../65/projectd_65_ansi/keyboard.json | 6 ++-
keyboards/projectd/75/ansi/config.h | 5 ---
keyboards/projectd/75/ansi/keyboard.json | 6 ++-
keyboards/projectkb/alice/rev1/config.h | 5 ---
keyboards/projectkb/alice/rev1/keyboard.json | 6 +++
keyboards/projectkb/alice/rev2/config.h | 5 ---
keyboards/projectkb/alice/rev2/keyboard.json | 6 +++
keyboards/projectkb/signature65/config.h | 23 -----------
keyboards/projectkb/signature65/keyboard.json | 6 +++
keyboards/projectkb/signature87/config.h | 23 -----------
keyboards/projectkb/signature87/keyboard.json | 6 +++
keyboards/prototypist/allison/config.h | 39 -------------------
keyboards/prototypist/allison/keyboard.json | 6 +++
keyboards/prototypist/allison_numpad/config.h | 39 -------------------
.../prototypist/allison_numpad/keyboard.json | 6 +++
keyboards/prototypist/j01/config.h | 22 -----------
keyboards/prototypist/j01/keyboard.json | 6 +++
keyboards/psuieee/pluto12/config.h | 9 -----
keyboards/psuieee/pluto12/keyboard.json | 6 +++
keyboards/pteron36/config.h | 39 -------------------
keyboards/pteron36/keyboard.json | 6 +++
keyboards/puck/config.h | 4 --
keyboards/puck/keyboard.json | 6 +++
keyboards/punk75/config.h | 5 ---
keyboards/punk75/keyboard.json | 6 +++
47 files changed, 142 insertions(+), 417 deletions(-)
delete mode 100644 keyboards/primekb/meridian_rgb/config.h
delete mode 100644 keyboards/primekb/prime_m/config.h
delete mode 100644 keyboards/primekb/prime_o/config.h
delete mode 100644 keyboards/primekb/prime_r/config.h
delete mode 100644 keyboards/projectcain/relic/config.h
delete mode 100644 keyboards/projectcain/vault45/config.h
delete mode 100644 keyboards/projectkb/signature65/config.h
delete mode 100644 keyboards/projectkb/signature87/config.h
delete mode 100644 keyboards/prototypist/allison/config.h
delete mode 100644 keyboards/prototypist/allison_numpad/config.h
delete mode 100644 keyboards/prototypist/j01/config.h
delete mode 100644 keyboards/psuieee/pluto12/config.h
delete mode 100644 keyboards/pteron36/config.h
delete mode 100644 keyboards/puck/config.h
diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h
index 5301e26ab31..c47b9e7ed42 100644
--- a/keyboards/preonic/config.h
+++ b/keyboards/preonic/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/preonic/rev1/keyboard.json b/keyboards/preonic/rev1/keyboard.json
index aa43fe2c474..648dafe5760 100644
--- a/keyboards/preonic/rev1/keyboard.json
+++ b/keyboards/preonic/rev1/keyboard.json
@@ -19,6 +19,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"],
"rows": ["D2", "D5", "B5", "B6", "D3"]
diff --git a/keyboards/preonic/rev2/keyboard.json b/keyboards/preonic/rev2/keyboard.json
index 3a6cab1e17b..d24c3db42f6 100644
--- a/keyboards/preonic/rev2/keyboard.json
+++ b/keyboards/preonic/rev2/keyboard.json
@@ -19,6 +19,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"],
"rows": ["D2", "D5", "B5", "B6", "D3"]
diff --git a/keyboards/preonic/rev3/keyboard.json b/keyboards/preonic/rev3/keyboard.json
index 472229c0da7..96cebf9ea01 100644
--- a/keyboards/preonic/rev3/keyboard.json
+++ b/keyboards/preonic/rev3/keyboard.json
@@ -40,6 +40,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "A7", "B0"],
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"]
diff --git a/keyboards/preonic/rev3_drop/keyboard.json b/keyboards/preonic/rev3_drop/keyboard.json
index f1cf1dfec1f..22374fa5f75 100644
--- a/keyboards/preonic/rev3_drop/keyboard.json
+++ b/keyboards/preonic/rev3_drop/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"led_count": 9,
"animations": {
diff --git a/keyboards/primekb/meridian/config.h b/keyboards/primekb/meridian/config.h
index 8593536eecd..c6cf02fc4cf 100644
--- a/keyboards/primekb/meridian/config.h
+++ b/keyboards/primekb/meridian/config.h
@@ -21,8 +21,3 @@ along with this program. If not, see .
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13
-
-/* 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/primekb/meridian/info.json b/keyboards/primekb/meridian/info.json
index 1e624892119..38358a3a7b3 100644
--- a/keyboards/primekb/meridian/info.json
+++ b/keyboards/primekb/meridian/info.json
@@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "B0", "A7", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
"rows": ["A6", "A5", "A4", "A3", "A2"]
diff --git a/keyboards/primekb/meridian/ktr1010/config.h b/keyboards/primekb/meridian/ktr1010/config.h
index 3da9ff72c42..ba56ce49847 100644
--- a/keyboards/primekb/meridian/ktr1010/config.h
+++ b/keyboards/primekb/meridian/ktr1010/config.h
@@ -24,8 +24,3 @@ along with this program. If not, see .
#define WS2812_T0L 975
#define WS2812_T1L 350
#define WS2812_RES_US 100
-
-/* 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/primekb/meridian/ws2812/config.h b/keyboards/primekb/meridian/ws2812/config.h
index 8593536eecd..c6cf02fc4cf 100644
--- a/keyboards/primekb/meridian/ws2812/config.h
+++ b/keyboards/primekb/meridian/ws2812/config.h
@@ -21,8 +21,3 @@ along with this program. If not, see .
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13
-
-/* 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/primekb/meridian_rgb/config.h b/keyboards/primekb/meridian_rgb/config.h
deleted file mode 100644
index 66857199142..00000000000
--- a/keyboards/primekb/meridian_rgb/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2022 Holten Campbell
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/primekb/meridian_rgb/keyboard.json b/keyboards/primekb/meridian_rgb/keyboard.json
index 49491b769ad..145d4eeb8bc 100644
--- a/keyboards/primekb/meridian_rgb/keyboard.json
+++ b/keyboards/primekb/meridian_rgb/keyboard.json
@@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "C6", "B6", "B5", "B4", "F7", "D4", "B7", "B3", "D5", "D3", "D2", "D1", "D0"],
"rows": ["E6", "F0", "F6", "D7", "D6"]
diff --git a/keyboards/primekb/prime_m/config.h b/keyboards/primekb/prime_m/config.h
deleted file mode 100644
index 053bc6236a7..00000000000
--- a/keyboards/primekb/prime_m/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2018 Jumail Mundekkat
-Copyright 2020 Holten Campbell
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/primekb/prime_m/keyboard.json b/keyboards/primekb/prime_m/keyboard.json
index b63b96bf702..eb06dcdb7ea 100644
--- a/keyboards/primekb/prime_m/keyboard.json
+++ b/keyboards/primekb/prime_m/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B3", "C7", "C6", "D2", "D1", "D0"],
"rows": ["C5", "B5", "B2", "D5", "D3"]
diff --git a/keyboards/primekb/prime_o/config.h b/keyboards/primekb/prime_o/config.h
deleted file mode 100644
index 9c9e5754a93..00000000000
--- a/keyboards/primekb/prime_o/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2018 Jumail Mundekkat
-
-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/primekb/prime_o/keyboard.json b/keyboards/primekb/prime_o/keyboard.json
index f3b427e148a..04da8ab1343 100644
--- a/keyboards/primekb/prime_o/keyboard.json
+++ b/keyboards/primekb/prime_o/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"],
"rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"]
diff --git a/keyboards/primekb/prime_r/config.h b/keyboards/primekb/prime_r/config.h
deleted file mode 100644
index 2baa495f2c4..00000000000
--- a/keyboards/primekb/prime_r/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2018 Andrew Heaston
-
-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/primekb/prime_r/keyboard.json b/keyboards/primekb/prime_r/keyboard.json
index a45db2351a6..b2a7ecec7a8 100644
--- a/keyboards/primekb/prime_r/keyboard.json
+++ b/keyboards/primekb/prime_r/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "C7", "C6", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["D1", "D0", "B7", "B3", "B2"]
diff --git a/keyboards/projectcain/relic/config.h b/keyboards/projectcain/relic/config.h
deleted file mode 100644
index 199375c173f..00000000000
--- a/keyboards/projectcain/relic/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 projectcain
-
-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/projectcain/relic/keyboard.json b/keyboards/projectcain/relic/keyboard.json
index 9ebfbf72d45..f9df6770d1f 100644
--- a/keyboards/projectcain/relic/keyboard.json
+++ b/keyboards/projectcain/relic/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D3", "D5", "B0", "F0", "F1", "F4", "F5", "F6", "C7", "C6", "B4"],
"rows": ["D7", "B2", "B6", "B5"]
diff --git a/keyboards/projectcain/vault45/config.h b/keyboards/projectcain/vault45/config.h
deleted file mode 100644
index 199375c173f..00000000000
--- a/keyboards/projectcain/vault45/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 projectcain
-
-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/projectcain/vault45/keyboard.json b/keyboards/projectcain/vault45/keyboard.json
index d09c8be7641..2ab3e010e71 100644
--- a/keyboards/projectcain/vault45/keyboard.json
+++ b/keyboards/projectcain/vault45/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "D5", "D4", "D6", "D7", "B4", "D3", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C6", "B6", "B5", "C7"]
diff --git a/keyboards/projectd/65/projectd_65_ansi/config.h b/keyboards/projectd/65/projectd_65_ansi/config.h
index d7f9a52afe4..c8da5c42a7c 100644
--- a/keyboards/projectd/65/projectd_65_ansi/config.h
+++ b/keyboards/projectd/65/projectd_65_ansi/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
-
/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
diff --git a/keyboards/projectd/65/projectd_65_ansi/keyboard.json b/keyboards/projectd/65/projectd_65_ansi/keyboard.json
index 9cfe8ffb5d3..5d75389e2a0 100644
--- a/keyboards/projectd/65/projectd_65_ansi/keyboard.json
+++ b/keyboards/projectd/65/projectd_65_ansi/keyboard.json
@@ -32,7 +32,11 @@
},
"processor": "WB32FQ95",
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgb_matrix": {
"animations": {
diff --git a/keyboards/projectd/75/ansi/config.h b/keyboards/projectd/75/ansi/config.h
index a42dd6c1eee..282e20a8e2b 100644
--- a/keyboards/projectd/75/ansi/config.h
+++ b/keyboards/projectd/75/ansi/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
-
/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
diff --git a/keyboards/projectd/75/ansi/keyboard.json b/keyboards/projectd/75/ansi/keyboard.json
index 2e57c353282..2296c639373 100644
--- a/keyboards/projectd/75/ansi/keyboard.json
+++ b/keyboards/projectd/75/ansi/keyboard.json
@@ -32,7 +32,11 @@
},
"processor": "WB32FQ95",
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgb_matrix": {
"animations": {
diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h
index 829976ebd6a..66d3b75731b 100644
--- a/keyboards/projectkb/alice/rev1/config.h
+++ b/keyboards/projectkb/alice/rev1/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see .
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define WS2812_SPI_DRIVER SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0
diff --git a/keyboards/projectkb/alice/rev1/keyboard.json b/keyboards/projectkb/alice/rev1/keyboard.json
index 1e97746ee88..7e957d7ff41 100644
--- a/keyboards/projectkb/alice/rev1/keyboard.json
+++ b/keyboards/projectkb/alice/rev1/keyboard.json
@@ -9,6 +9,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"led_count": 14,
"animations": {
diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h
index 6e250bb14ef..3e786c18056 100644
--- a/keyboards/projectkb/alice/rev2/config.h
+++ b/keyboards/projectkb/alice/rev2/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see .
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define WS2812_SPI_DRIVER SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0
diff --git a/keyboards/projectkb/alice/rev2/keyboard.json b/keyboards/projectkb/alice/rev2/keyboard.json
index 0ed3b88ea2a..639fc268779 100644
--- a/keyboards/projectkb/alice/rev2/keyboard.json
+++ b/keyboards/projectkb/alice/rev2/keyboard.json
@@ -9,6 +9,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"led_count": 14,
"animations": {
diff --git a/keyboards/projectkb/signature65/config.h b/keyboards/projectkb/signature65/config.h
deleted file mode 100644
index 4d31d4b095f..00000000000
--- a/keyboards/projectkb/signature65/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2020 MechMerlin
-
-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/projectkb/signature65/keyboard.json b/keyboards/projectkb/signature65/keyboard.json
index 7f865fbaaf3..b72ff9926c0 100644
--- a/keyboards/projectkb/signature65/keyboard.json
+++ b/keyboards/projectkb/signature65/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B14", "A2", "B9", "B8", "B5", "B4", "B3", "A15", "B11", "B10", "B2", "A3", "B1", "B0", "A4", "A5"],
"rows": ["A8", "A9", "B13", "A6", "A7"]
diff --git a/keyboards/projectkb/signature87/config.h b/keyboards/projectkb/signature87/config.h
deleted file mode 100644
index 4d31d4b095f..00000000000
--- a/keyboards/projectkb/signature87/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2020 MechMerlin
-
-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/projectkb/signature87/keyboard.json b/keyboards/projectkb/signature87/keyboard.json
index 2f8666aeb9e..2b18bf45721 100644
--- a/keyboards/projectkb/signature87/keyboard.json
+++ b/keyboards/projectkb/signature87/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A7", "A6", "A5", "A4", "A3", "A2", "A15", "B3", "B4"],
"rows": ["B13", "B12", "A8", "B15", "A10", "A9", "B9", "B8", "B1", "B0", "B10", "B2"]
diff --git a/keyboards/prototypist/allison/config.h b/keyboards/prototypist/allison/config.h
deleted file mode 100644
index 9765ad6b1a8..00000000000
--- a/keyboards/prototypist/allison/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Yiancar
-
-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/prototypist/allison/keyboard.json b/keyboards/prototypist/allison/keyboard.json
index 0261b204bb0..ea80e853bf2 100644
--- a/keyboards/prototypist/allison/keyboard.json
+++ b/keyboards/prototypist/allison/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F1", "F0"],
"rows": ["D2", "D1", "D0", "B1", "B2", "D3"]
diff --git a/keyboards/prototypist/allison_numpad/config.h b/keyboards/prototypist/allison_numpad/config.h
deleted file mode 100644
index 9765ad6b1a8..00000000000
--- a/keyboards/prototypist/allison_numpad/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Yiancar
-
-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/prototypist/allison_numpad/keyboard.json b/keyboards/prototypist/allison_numpad/keyboard.json
index 974573fc64e..a995cd6bbf2 100644
--- a/keyboards/prototypist/allison_numpad/keyboard.json
+++ b/keyboards/prototypist/allison_numpad/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F5", "F1", "F0"],
"rows": ["F4", "C7", "C6", "B6", "B5", "B4"]
diff --git a/keyboards/prototypist/j01/config.h b/keyboards/prototypist/j01/config.h
deleted file mode 100644
index 1d22c074e20..00000000000
--- a/keyboards/prototypist/j01/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 Shaun Mitchell (Flex)
- *
- * 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/prototypist/j01/keyboard.json b/keyboards/prototypist/j01/keyboard.json
index d6e24dc9e59..68296e1b776 100644
--- a/keyboards/prototypist/j01/keyboard.json
+++ b/keyboards/prototypist/j01/keyboard.json
@@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B1", "F0", "F7", "F1", "F4", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
"rows": ["B3", "B2", "B0", "F6", "F5"]
diff --git a/keyboards/psuieee/pluto12/config.h b/keyboards/psuieee/pluto12/config.h
deleted file mode 100644
index cabf72507ff..00000000000
--- a/keyboards/psuieee/pluto12/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2021-22 Willem McGloughlin (wymcg)
-// 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/psuieee/pluto12/keyboard.json b/keyboards/psuieee/pluto12/keyboard.json
index 6dcb3d33ac7..382d9fe030e 100644
--- a/keyboards/psuieee/pluto12/keyboard.json
+++ b/keyboards/psuieee/pluto12/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D7", "E6", "B4", "B5"],
"rows": ["D0", "D4", "C6"]
diff --git a/keyboards/pteron36/config.h b/keyboards/pteron36/config.h
deleted file mode 100644
index 72b4ea84e71..00000000000
--- a/keyboards/pteron36/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Harshit Goel
-
-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/pteron36/keyboard.json b/keyboards/pteron36/keyboard.json
index f4bab524196..abd94d599af 100644
--- a/keyboards/pteron36/keyboard.json
+++ b/keyboards/pteron36/keyboard.json
@@ -19,6 +19,12 @@
"oled": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2"],
"rows": ["E6", "D7", "B4", "B5"]
diff --git a/keyboards/puck/config.h b/keyboards/puck/config.h
deleted file mode 100644
index 2f38776326e..00000000000
--- a/keyboards/puck/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#pragma once
-
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/puck/keyboard.json b/keyboards/puck/keyboard.json
index 1ee73dc4375..4ec04d72bea 100644
--- a/keyboards/puck/keyboard.json
+++ b/keyboards/puck/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": false,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B4", "D7", "D6"],
"rows": ["D2", "D3", "C6", "C7"]
diff --git a/keyboards/punk75/config.h b/keyboards/punk75/config.h
index b314f6dae97..321865330c7 100644
--- a/keyboards/punk75/config.h
+++ b/keyboards/punk75/config.h
@@ -18,8 +18,3 @@ along with this program. If not, see .
#pragma once
#define LED A0
-
-/* 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/punk75/keyboard.json b/keyboards/punk75/keyboard.json
index 5c1bd94a5ed..dd084a147c4 100644
--- a/keyboards/punk75/keyboard.json
+++ b/keyboards/punk75/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C2", "C3", "C6", "C5", "C4", "A7", "A6", "A5", "A4", "B4", "A3", "B3", "A2", "B2", "A1"],
"rows": ["D6", "D5", "C1", "C0", "D7"]