From 84134115711f5165bffc862e6386346b29099c18 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 12:38:43 -0700
Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: S, Part 1 (#23783)
Affects:
- `salicylic_acid3/7skb/rev1`
- `salicylic_acid3/7splus`
- `salicylic_acid3/ajisai74`
- `salicylic_acid3/ergoarrows`
- `salicylic_acid3/getta25/rev1`
- `salicylic_acid3/jisplit89/rev1`
- `salicylic_acid3/nafuda`
- `salicylic_acid3/naked48/rev1`
- `salicylic_acid3/naked60/rev1`
- `salicylic_acid3/naked64/rev1`
- `salicylic_acid3/nknl7en`
- `salicylic_acid3/nknl7jp`
- `salicylic_acid3/setta21/rev1`
- `sandwich/keeb68`
- `satt/vision`
- `sauce/mild`
- `scatter42`
- `sck/gtm`
- `sck/m0116b`
- `sck/neiso`
- `sekigon/grs_70ec`
- `sendyyeah/pix`
- `senselessclay/ck65`
- `senselessclay/gos65`
- `senselessclay/had60`
- `sentraq/s60_x/default`
- `sentraq/s60_x/rgb`
- `sentraq/s65_plus`
- `sentraq/s65_x`
- `sets3n/kk980`
- `shambles`
- `shandoncodes/flygone60/rev3`
- `shandoncodes/mino/hotswap`
- `shapeshifter4060`
- `shiro`
- `shk9`
- `sidderskb/majbritt/rev2`
- `sixkeyboard`
- `skeletonkbd/skeletonnumpad`
- `skme/zeno`
---
keyboards/sck/gtm/config.h | 7 -------
keyboards/sck/gtm/keyboard.json | 6 ++++++
keyboards/sck/m0116b/config.h | 39 --------------------------------------
keyboards/sck/m0116b/keyboard.json | 6 ++++++
keyboards/sck/neiso/config.h | 39 --------------------------------------
keyboards/sck/neiso/keyboard.json | 6 ++++++
6 files changed, 18 insertions(+), 85 deletions(-)
delete mode 100644 keyboards/sck/gtm/config.h
delete mode 100644 keyboards/sck/m0116b/config.h
delete mode 100644 keyboards/sck/neiso/config.h
(limited to 'keyboards/sck')
diff --git a/keyboards/sck/gtm/config.h b/keyboards/sck/gtm/config.h
deleted file mode 100644
index 5f36081323..0000000000
--- a/keyboards/sck/gtm/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/sck/gtm/keyboard.json b/keyboards/sck/gtm/keyboard.json
index 54f6eda446..7ed3915114 100644
--- a/keyboards/sck/gtm/keyboard.json
+++ b/keyboards/sck/gtm/keyboard.json
@@ -36,6 +36,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B4", "B5", "B6", "B7", "C7", "D0"],
"rows": ["C4", "C5", "D1"]
diff --git a/keyboards/sck/m0116b/config.h b/keyboards/sck/m0116b/config.h
deleted file mode 100644
index a3c400ab47..0000000000
--- a/keyboards/sck/m0116b/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 jrfhoutx
-
-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/sck/m0116b/keyboard.json b/keyboards/sck/m0116b/keyboard.json
index 68184f340c..ec96ebc5a3 100644
--- a/keyboards/sck/m0116b/keyboard.json
+++ b/keyboards/sck/m0116b/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D5", "D3", "D2", "D0", "B3", "B2", "B1", "B0", "E6", "B5", "B6", "C6", "C7", "F7", "D4", "D6", "D7", "B4"],
"rows": ["D1", "F0", "F1", "F4", "F5", "F6"]
diff --git a/keyboards/sck/neiso/config.h b/keyboards/sck/neiso/config.h
deleted file mode 100644
index a3c400ab47..0000000000
--- a/keyboards/sck/neiso/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 jrfhoutx
-
-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/sck/neiso/keyboard.json b/keyboards/sck/neiso/keyboard.json
index 59132579c9..15cec58849 100644
--- a/keyboards/sck/neiso/keyboard.json
+++ b/keyboards/sck/neiso/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B3", "D2", "F5", "F7", "B4"],
"rows": ["F4"]
--
cgit v1.2.3