aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ydkb
diff options
context:
space:
mode:
authorJames Young2024-05-24 04:14:15 +0200
committerGitHub2024-05-24 04:14:15 +0200
commit8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (patch)
tree9a0e6fbbfcc38fda77a5e49abb57c3f83bd41bc4 /keyboards/ydkb
parent8abd87d586d023105d689fd22bd9d3b7d514c454 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: X-Z (#23790)
Affects: - `x16` - `xelus/akis` - `xelus/dharma` - `xelus/kangaroo/rev1` - `xelus/kangaroo/rev2` - `xelus/ninjin` - `xelus/pachi/mini_32u4` - `xelus/pachi/rev1` - `xelus/snap96` - `xelus/xs108` - `xiudi/xd60/rev2` - `xiudi/xd60/rev3` - `xiudi/xd68` - `xiudi/xd75` - `xiudi/xd84pro` - `xiudi/xd87` - `xmmx` - `ydkb/chili` - `ydkb/grape` - `ydkb/just60` - `yiancardesigns/barleycorn` - `yiancardesigns/gingham` - `yiancardesigns/seigaiha` - `ymdk/melody96/soldered` - `ymdk/np21` - `ymdk/yd60mq` - `ymdk/ymd09` - `ymdk/ymd67` - `yoichiro/lunakey_mini` - `yushakobo/quick7` - `yynmt/acperience12/rev1` - `yynmt/dozen0` - `yynmt/kagamidget` - `zigotica/z12` - `zigotica/z34` - `zj68` - `zlant` - `zoo/wampus` - `zsa/moonlander` - `ztboards/after` - `ztboards/noon`
Diffstat (limited to 'keyboards/ydkb')
-rw-r--r--keyboards/ydkb/chili/config.h39
-rw-r--r--keyboards/ydkb/chili/keyboard.json6
-rw-r--r--keyboards/ydkb/grape/config.h5
-rw-r--r--keyboards/ydkb/grape/keyboard.json6
-rw-r--r--keyboards/ydkb/just60/config.h23
-rw-r--r--keyboards/ydkb/just60/keyboard.json6
6 files changed, 18 insertions, 67 deletions
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h
deleted file mode 100644
index b9449c4714..0000000000
--- a/keyboards/ydkb/chili/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2012 Jun Wako <wakojun@gmail.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 <http://www.gnu.org/licenses/>.
-*/
-
-#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/ydkb/chili/keyboard.json b/keyboards/ydkb/chili/keyboard.json
index 78dd6318fe..92552d96a3 100644
--- a/keyboards/ydkb/chili/keyboard.json
+++ b/keyboards/ydkb/chili/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6"],
"rows": ["F5", "F4", "F1", "F0", "E6", "B0", "D5", "D3", "D2", "D1", "D0"]
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h
index a835243d58..5b08baa214 100644
--- a/keyboards/ydkb/grape/config.h
+++ b/keyboards/ydkb/grape/config.h
@@ -23,8 +23,3 @@
#define MATRIX_COL_PINS { F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, B3, B2, B1, B0 }
#define SN74X138_ADDRESS_PINS { D2, D1, D0 }
-
-/* 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/ydkb/grape/keyboard.json b/keyboards/ydkb/grape/keyboard.json
index f8f0364d93..e1645d7d03 100644
--- a/keyboards/ydkb/grape/keyboard.json
+++ b/keyboards/ydkb/grape/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "B7",
"breathing": true
diff --git a/keyboards/ydkb/just60/config.h b/keyboards/ydkb/just60/config.h
deleted file mode 100644
index 4ec059e4b5..0000000000
--- a/keyboards/ydkb/just60/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2019 Jianfei Wang
-
-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 <http://www.gnu.org/licenses/>.
-*/
-
-#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/ydkb/just60/keyboard.json b/keyboards/ydkb/just60/keyboard.json
index fb46e08ea3..586ea80f21 100644
--- a/keyboards/ydkb/just60/keyboard.json
+++ b/keyboards/ydkb/just60/keyboard.json
@@ -11,6 +11,12 @@
"features": {
"bootmagic": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D6", "D7", "B4", "B6", "B5", "B7", "F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0"],
"rows": ["E2", "C7", "B3", "B2", "B1"]