From 030d503d35c01aad65ecfec171b08a963da9866e Mon Sep 17 00:00:00 2001
From: James Young
Date: Wed, 22 May 2024 13:59:35 -0700
Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: K, Part 3 (#23770)
Affects:
- `kindakeyboards/conone65`
- `kinesis`
- `kingly_keys/ave/ortho`
- `kingly_keys/ave/staggered`
- `kingly_keys/little_foot`
- `kingly_keys/romac`
- `kingly_keys/romac_plus`
- `kingly_keys/ropro`
- `kingly_keys/smd_milk`
- `kingly_keys/soap`
- `kira/kira75`
- `kisakeyluxury/qtz`
- `kiserdesigns/madeline`
- `kiwikeebs/macro`
- `kiwikeebs/macro_v2`
- `kiwikey/borderland`
- `kiwikey/kawii9`
- `kiwikey/wanderland`
- `kkatano/bakeneko60`
- `kkatano/bakeneko65/rev2`
- `kkatano/bakeneko65/rev3`
- `kkatano/bakeneko80`
- `kkatano/wallaby`
- `kkatano/yurei`
- `knops/mini`
- `kona_classic`
- `kopibeng/mnk60_stm32`
- `kopibeng/mnk65`
- `kopibeng/mnk65_stm32`
- `kopibeng/mnk88`
- `kopibeng/typ65`
- `kopibeng/xt60`
- `kopibeng/xt60_singa`
- `kopibeng/xt65`
- `kopibeng/xt8x`
- `kprepublic/bm16s`
- `kprepublic/bm40hsrgb/rev1`
- `kprepublic/bm65hsrgb/rev1`
- `kprepublic/bm68hsrgb/rev1`
- `kprepublic/bm980hsrgb`
- `kprepublic/cospad`
- `ktec/daisy`
- `kumaokobo/kudox/columner`
- `kumaokobo/kudox/rev1`
- `kumaokobo/kudox/rev2`
- `kumaokobo/kudox/rev3`
- `kumaokobo/kudox_full/rev1`
- `kumaokobo/kudox_game/rev1`
- `kumaokobo/kudox_game/rev2`
- `kumaokobo/pico/65keys`
- `kumaokobo/pico/70keys`
- `kv/revt`
- `kwub/bloop`
- `ky01`---
keyboards/kprepublic/bm16s/config.h | 7 ----
keyboards/kprepublic/bm16s/keyboard.json | 6 ++++
keyboards/kprepublic/bm40hsrgb/rev1/config.h | 22 -------------
keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json | 6 ++++
keyboards/kprepublic/bm65hsrgb/rev1/config.h | 39 -----------------------
keyboards/kprepublic/bm65hsrgb/rev1/keyboard.json | 6 ++++
keyboards/kprepublic/bm68hsrgb/rev1/config.h | 39 -----------------------
keyboards/kprepublic/bm68hsrgb/rev1/keyboard.json | 6 ++++
keyboards/kprepublic/bm980hsrgb/config.h | 39 -----------------------
keyboards/kprepublic/bm980hsrgb/keyboard.json | 6 ++++
keyboards/kprepublic/cospad/config.h | 39 -----------------------
keyboards/kprepublic/cospad/keyboard.json | 6 ++++
12 files changed, 36 insertions(+), 185 deletions(-)
delete mode 100755 keyboards/kprepublic/bm16s/config.h
delete mode 100755 keyboards/kprepublic/bm40hsrgb/rev1/config.h
delete mode 100644 keyboards/kprepublic/bm65hsrgb/rev1/config.h
delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/config.h
delete mode 100644 keyboards/kprepublic/bm980hsrgb/config.h
delete mode 100644 keyboards/kprepublic/cospad/config.h
(limited to 'keyboards/kprepublic')
diff --git a/keyboards/kprepublic/bm16s/config.h b/keyboards/kprepublic/bm16s/config.h
deleted file mode 100755
index 5f36081323..0000000000
--- a/keyboards/kprepublic/bm16s/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/kprepublic/bm16s/keyboard.json b/keyboards/kprepublic/bm16s/keyboard.json
index c1dce5d300..8c6ce05bb9 100644
--- a/keyboards/kprepublic/bm16s/keyboard.json
+++ b/keyboards/kprepublic/bm16s/keyboard.json
@@ -37,6 +37,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "F6", "D4", "D6"],
"rows": ["D1", "D0", "D3", "D2"]
diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/config.h b/keyboards/kprepublic/bm40hsrgb/rev1/config.h
deleted file mode 100755
index 0ddf783824..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/rev1/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 tominabox1
- *
- * 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/kprepublic/bm40hsrgb/rev1/keyboard.json b/keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json
index 83da66a0a1..7bdeafbcad 100644
--- a/keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json
+++ b/keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json
@@ -73,6 +73,12 @@
"nkro": false,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "C6", "B4", "D7", "D4", "D6", "C7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B3", "B2", "E6", "B5"]
diff --git a/keyboards/kprepublic/bm65hsrgb/rev1/config.h b/keyboards/kprepublic/bm65hsrgb/rev1/config.h
deleted file mode 100644
index 944a3a8423..0000000000
--- a/keyboards/kprepublic/bm65hsrgb/rev1/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 bytesapart
-
-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/kprepublic/bm65hsrgb/rev1/keyboard.json b/keyboards/kprepublic/bm65hsrgb/rev1/keyboard.json
index fcc2101b01..dc63acfa41 100644
--- a/keyboards/kprepublic/bm65hsrgb/rev1/keyboard.json
+++ b/keyboards/kprepublic/bm65hsrgb/rev1/keyboard.json
@@ -26,6 +26,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"],
"rows": ["B0", "B1", "B2", "B3", "E6"]
diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/config.h b/keyboards/kprepublic/bm68hsrgb/rev1/config.h
deleted file mode 100644
index 458ef98569..0000000000
--- a/keyboards/kprepublic/bm68hsrgb/rev1/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 peepeetee
-
-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/kprepublic/bm68hsrgb/rev1/keyboard.json b/keyboards/kprepublic/bm68hsrgb/rev1/keyboard.json
index ca68c78756..6e2d3a9208 100644
--- a/keyboards/kprepublic/bm68hsrgb/rev1/keyboard.json
+++ b/keyboards/kprepublic/bm68hsrgb/rev1/keyboard.json
@@ -72,6 +72,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"],
"rows": ["B0", "B1", "B2", "B3", "E6"]
diff --git a/keyboards/kprepublic/bm980hsrgb/config.h b/keyboards/kprepublic/bm980hsrgb/config.h
deleted file mode 100644
index 458ef98569..0000000000
--- a/keyboards/kprepublic/bm980hsrgb/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 peepeetee
-
-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/kprepublic/bm980hsrgb/keyboard.json b/keyboards/kprepublic/bm980hsrgb/keyboard.json
index 717a514fe8..8ee498b7b6 100644
--- a/keyboards/kprepublic/bm980hsrgb/keyboard.json
+++ b/keyboards/kprepublic/bm980hsrgb/keyboard.json
@@ -23,6 +23,12 @@
"nkro": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "E6", "F0", "F1", "F4", "F5", "D6"],
"rows": ["D4", "B6", "B5", "B4", "F7", "F6", "D7"]
diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h
deleted file mode 100644
index 5e90ea1c05..0000000000
--- a/keyboards/kprepublic/cospad/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * 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/kprepublic/cospad/keyboard.json b/keyboards/kprepublic/cospad/keyboard.json
index 233e258e1d..51a824b816 100644
--- a/keyboards/kprepublic/cospad/keyboard.json
+++ b/keyboards/kprepublic/cospad/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7"],
"rows": ["D0", "D1", "D2", "D3", "D4", "D5"]
--
cgit v1.2.3