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/kiwikey/borderland/config.h | 25 -------------------
keyboards/kiwikey/borderland/keyboard.json | 6 ++++-
keyboards/kiwikey/kawii9/config.h | 39 ------------------------------
keyboards/kiwikey/kawii9/keyboard.json | 6 +++++
keyboards/kiwikey/wanderland/config.h | 39 ------------------------------
keyboards/kiwikey/wanderland/keyboard.json | 6 +++++
6 files changed, 17 insertions(+), 104 deletions(-)
delete mode 100644 keyboards/kiwikey/borderland/config.h
delete mode 100644 keyboards/kiwikey/kawii9/config.h
delete mode 100644 keyboards/kiwikey/wanderland/config.h
(limited to 'keyboards/kiwikey')
diff --git a/keyboards/kiwikey/borderland/config.h b/keyboards/kiwikey/borderland/config.h
deleted file mode 100644
index bff2f881e8..0000000000
--- a/keyboards/kiwikey/borderland/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2021 KiwiKey (@KiwiKey)
-// 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/kiwikey/borderland/keyboard.json b/keyboards/kiwikey/borderland/keyboard.json
index 247c6b304d..c4bf2eaba5 100644
--- a/keyboards/kiwikey/borderland/keyboard.json
+++ b/keyboards/kiwikey/borderland/keyboard.json
@@ -20,7 +20,11 @@
]
},
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgblight": {
"saturation_steps": 8,
diff --git a/keyboards/kiwikey/kawii9/config.h b/keyboards/kiwikey/kawii9/config.h
deleted file mode 100644
index bc1b5f6c88..0000000000
--- a/keyboards/kiwikey/kawii9/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 KiwiKey
-
-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/kiwikey/kawii9/keyboard.json b/keyboards/kiwikey/kawii9/keyboard.json
index 07b4cca097..bb11911cde 100644
--- a/keyboards/kiwikey/kawii9/keyboard.json
+++ b/keyboards/kiwikey/kawii9/keyboard.json
@@ -42,6 +42,12 @@
"extrakey": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT_ortho_3x3": {
"layout": [
diff --git a/keyboards/kiwikey/wanderland/config.h b/keyboards/kiwikey/wanderland/config.h
deleted file mode 100644
index 1a4dea1b38..0000000000
--- a/keyboards/kiwikey/wanderland/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 KiwiKey
-
-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/kiwikey/wanderland/keyboard.json b/keyboards/kiwikey/wanderland/keyboard.json
index b4d4d4f516..3dd7c668ac 100644
--- a/keyboards/kiwikey/wanderland/keyboard.json
+++ b/keyboards/kiwikey/wanderland/keyboard.json
@@ -18,6 +18,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F6", "B4", "D7", "D6", "D5", "D2", "D3", "B0", "F0", "B1", "B2", "B3"],
"rows": ["F4", "F1", "E6", "E2", "C7", "D4"]
--
cgit v1.2.3