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/kopibeng/mnk60_stm32/config.h | 22 ----------------
keyboards/kopibeng/mnk60_stm32/keyboard.json | 6 +++++
keyboards/kopibeng/mnk65/config.h | 22 ----------------
keyboards/kopibeng/mnk65/keyboard.json | 6 +++++
keyboards/kopibeng/mnk65_stm32/config.h | 22 ----------------
keyboards/kopibeng/mnk65_stm32/keyboard.json | 6 +++++
keyboards/kopibeng/mnk88/config.h | 22 ----------------
keyboards/kopibeng/mnk88/keyboard.json | 6 +++++
keyboards/kopibeng/typ65/config.h | 5 ----
keyboards/kopibeng/typ65/keyboard.json | 6 +++++
keyboards/kopibeng/xt60/config.h | 22 ----------------
keyboards/kopibeng/xt60/keyboard.json | 6 +++++
keyboards/kopibeng/xt60_singa/config.h | 22 ----------------
keyboards/kopibeng/xt60_singa/keyboard.json | 6 +++++
keyboards/kopibeng/xt65/config.h | 38 ----------------------------
keyboards/kopibeng/xt65/keyboard.json | 6 +++++
keyboards/kopibeng/xt8x/config.h | 5 ----
keyboards/kopibeng/xt8x/keyboard.json | 6 +++++
18 files changed, 54 insertions(+), 180 deletions(-)
delete mode 100644 keyboards/kopibeng/mnk60_stm32/config.h
delete mode 100644 keyboards/kopibeng/mnk65/config.h
delete mode 100644 keyboards/kopibeng/mnk65_stm32/config.h
delete mode 100644 keyboards/kopibeng/mnk88/config.h
delete mode 100644 keyboards/kopibeng/xt60/config.h
delete mode 100644 keyboards/kopibeng/xt60_singa/config.h
delete mode 100644 keyboards/kopibeng/xt65/config.h
(limited to 'keyboards/kopibeng')
diff --git a/keyboards/kopibeng/mnk60_stm32/config.h b/keyboards/kopibeng/mnk60_stm32/config.h
deleted file mode 100644
index 625c24bde0..0000000000
--- a/keyboards/kopibeng/mnk60_stm32/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2023 Samuel Lu
- *
- * 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/kopibeng/mnk60_stm32/keyboard.json b/keyboards/kopibeng/mnk60_stm32/keyboard.json
index be1f3cd409..e0853d543f 100644
--- a/keyboards/kopibeng/mnk60_stm32/keyboard.json
+++ b/keyboards/kopibeng/mnk60_stm32/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"caps_lock": "A0"
},
diff --git a/keyboards/kopibeng/mnk65/config.h b/keyboards/kopibeng/mnk65/config.h
deleted file mode 100644
index 62a2978f67..0000000000
--- a/keyboards/kopibeng/mnk65/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Samuel Lu
- *
- * 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/kopibeng/mnk65/keyboard.json b/keyboards/kopibeng/mnk65/keyboard.json
index 24113c3ce5..3c6e04f116 100644
--- a/keyboards/kopibeng/mnk65/keyboard.json
+++ b/keyboards/kopibeng/mnk65/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B7", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "F5"],
"rows": ["B3", "D0", "F6", "F4", "F1"]
diff --git a/keyboards/kopibeng/mnk65_stm32/config.h b/keyboards/kopibeng/mnk65_stm32/config.h
deleted file mode 100644
index 62a2978f67..0000000000
--- a/keyboards/kopibeng/mnk65_stm32/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Samuel Lu
- *
- * 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/kopibeng/mnk65_stm32/keyboard.json b/keyboards/kopibeng/mnk65_stm32/keyboard.json
index f3c57063c9..c71394ba84 100644
--- a/keyboards/kopibeng/mnk65_stm32/keyboard.json
+++ b/keyboards/kopibeng/mnk65_stm32/keyboard.json
@@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"caps_lock": "A8"
},
diff --git a/keyboards/kopibeng/mnk88/config.h b/keyboards/kopibeng/mnk88/config.h
deleted file mode 100644
index 62a2978f67..0000000000
--- a/keyboards/kopibeng/mnk88/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Samuel Lu
- *
- * 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/kopibeng/mnk88/keyboard.json b/keyboards/kopibeng/mnk88/keyboard.json
index 8a63d6562b..29d2d70ba9 100644
--- a/keyboards/kopibeng/mnk88/keyboard.json
+++ b/keyboards/kopibeng/mnk88/keyboard.json
@@ -34,6 +34,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A2", "A1", "A0", "B11", "B10", "B2", "F1", "B1", "B0", "A7", "A6", "A5", "F0", "A4", "C15", "C14", "C13"],
"rows": ["A8", "B15", "A9", "B12", "A3", "B14"]
diff --git a/keyboards/kopibeng/typ65/config.h b/keyboards/kopibeng/typ65/config.h
index 76cd3ae659..48c3abee25 100644
--- a/keyboards/kopibeng/typ65/config.h
+++ b/keyboards/kopibeng/typ65/config.h
@@ -19,8 +19,3 @@
#define INDICATOR_0 B2
#define INDICATOR_1 B7
#define INDICATOR_2 B3
-
-/* 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/kopibeng/typ65/keyboard.json b/keyboards/kopibeng/typ65/keyboard.json
index c2598cadcb..57a23da4ad 100644
--- a/keyboards/kopibeng/typ65/keyboard.json
+++ b/keyboards/kopibeng/typ65/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F5", "F4", "F1", "F0", "E6"],
"rows": ["D0", "D1", "D2", "F6", "B0"]
diff --git a/keyboards/kopibeng/xt60/config.h b/keyboards/kopibeng/xt60/config.h
deleted file mode 100644
index 62a2978f67..0000000000
--- a/keyboards/kopibeng/xt60/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Samuel Lu
- *
- * 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/kopibeng/xt60/keyboard.json b/keyboards/kopibeng/xt60/keyboard.json
index 70b5a06ab4..2901c056dd 100644
--- a/keyboards/kopibeng/xt60/keyboard.json
+++ b/keyboards/kopibeng/xt60/keyboard.json
@@ -33,6 +33,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "F5", "F1", "F0", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1"],
"rows": ["F7", "F4", "D0", "B3", "B7"]
diff --git a/keyboards/kopibeng/xt60_singa/config.h b/keyboards/kopibeng/xt60_singa/config.h
deleted file mode 100644
index 62a2978f67..0000000000
--- a/keyboards/kopibeng/xt60_singa/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Samuel Lu
- *
- * 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/kopibeng/xt60_singa/keyboard.json b/keyboards/kopibeng/xt60_singa/keyboard.json
index 844d9b7aca..688fa2f73a 100644
--- a/keyboards/kopibeng/xt60_singa/keyboard.json
+++ b/keyboards/kopibeng/xt60_singa/keyboard.json
@@ -33,6 +33,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C7", "F5", "F1", "F0", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1"],
"rows": ["F7", "F4", "D0", "B3", "B7"]
diff --git a/keyboards/kopibeng/xt65/config.h b/keyboards/kopibeng/xt65/config.h
deleted file mode 100644
index 2ef1d22576..0000000000
--- a/keyboards/kopibeng/xt65/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright 2021 Samuel Lu
- *
- * 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/kopibeng/xt65/keyboard.json b/keyboards/kopibeng/xt65/keyboard.json
index f5d53e0af4..c73ff703d5 100644
--- a/keyboards/kopibeng/xt65/keyboard.json
+++ b/keyboards/kopibeng/xt65/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D1", "D2", "D3", "B6", "C6", "C7", "F0", "F1", "F4", "F5", "F6", "F7", "B2", "B3", "B7"],
"rows": ["B5", "B4", "D7", "D6", "D4"]
diff --git a/keyboards/kopibeng/xt8x/config.h b/keyboards/kopibeng/xt8x/config.h
index 5f12451e15..65961eb226 100644
--- a/keyboards/kopibeng/xt8x/config.h
+++ b/keyboards/kopibeng/xt8x/config.h
@@ -17,8 +17,3 @@
#pragma once
#define INDICATOR_PIN_0 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/kopibeng/xt8x/keyboard.json b/keyboards/kopibeng/xt8x/keyboard.json
index 379ca9ee67..7167cb1d07 100644
--- a/keyboards/kopibeng/xt8x/keyboard.json
+++ b/keyboards/kopibeng/xt8x/keyboard.json
@@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A2", "A1", "A0", "B11", "B10", "B2", "F1", "B1", "B0", "A7", "A6", "A5", "F0", "A4", "C15", "C14", "C13"],
"rows": ["A8", "B15", "A9", "B12", "A3", "B14"]
--
cgit v1.2.3