diff options
author | James Young <[email protected]> | 2024-05-23 19:14:15 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-24 03:14:15 +0100 |
commit | 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (patch) | |
tree | 9a0e6fbbfcc38fda77a5e49abb57c3f83bd41bc4 /keyboards/ymdk | |
parent | 8abd87d586d023105d689fd22bd9d3b7d514c454 (diff) | |
download | qmk_firmware-8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8.tar.gz qmk_firmware-8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8.zip |
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/ymdk')
-rw-r--r-- | keyboards/ymdk/melody96/soldered/config.h | 7 | ||||
-rw-r--r-- | keyboards/ymdk/melody96/soldered/keyboard.json | 6 | ||||
-rw-r--r-- | keyboards/ymdk/np21/config.h | 39 | ||||
-rw-r--r-- | keyboards/ymdk/np21/keyboard.json | 6 | ||||
-rw-r--r-- | keyboards/ymdk/yd60mq/config.h | 4 | ||||
-rw-r--r-- | keyboards/ymdk/yd60mq/info.json | 6 | ||||
-rw-r--r-- | keyboards/ymdk/ymd09/config.h | 24 | ||||
-rw-r--r-- | keyboards/ymdk/ymd09/keyboard.json | 6 | ||||
-rw-r--r-- | keyboards/ymdk/ymd67/config.h | 4 | ||||
-rw-r--r-- | keyboards/ymdk/ymd67/keyboard.json | 6 |
10 files changed, 30 insertions, 78 deletions
diff --git a/keyboards/ymdk/melody96/soldered/config.h b/keyboards/ymdk/melody96/soldered/config.h deleted file mode 100644 index 5f36081323..0000000000 --- a/keyboards/ymdk/melody96/soldered/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/ymdk/melody96/soldered/keyboard.json b/keyboards/ymdk/melody96/soldered/keyboard.json index 06d3947240..dbb2ddc32b 100644 --- a/keyboards/ymdk/melody96/soldered/keyboard.json +++ b/keyboards/ymdk/melody96/soldered/keyboard.json @@ -16,6 +16,12 @@ "nkro": true, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h deleted file mode 100644 index 6c187131d4..0000000000 --- a/keyboards/ymdk/np21/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2017 Luiz Ribeiro <[email protected]> - -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/ymdk/np21/keyboard.json b/keyboards/ymdk/np21/keyboard.json index 14a075042b..a1997161ee 100644 --- a/keyboards/ymdk/np21/keyboard.json +++ b/keyboards/ymdk/np21/keyboard.json @@ -18,6 +18,12 @@ "nkro": false, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/ymdk/yd60mq/config.h b/keyboards/ymdk/yd60mq/config.h deleted file mode 100644 index 6f34d5132a..0000000000 --- a/keyboards/ymdk/yd60mq/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ymdk/yd60mq/info.json b/keyboards/ymdk/yd60mq/info.json index a1c4bc8f76..4152ed6e07 100644 --- a/keyboards/ymdk/yd60mq/info.json +++ b/keyboards/ymdk/yd60mq/info.json @@ -17,6 +17,12 @@ "nkro": true, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": false + } + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/ymdk/ymd09/config.h b/keyboards/ymdk/ymd09/config.h deleted file mode 100644 index 8d59b7832f..0000000000 --- a/keyboards/ymdk/ymd09/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2020 Patrick Fruh -Copyright 2023 SHVD3x - -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/ymdk/ymd09/keyboard.json b/keyboards/ymdk/ymd09/keyboard.json index 52dc9d3160..571aa8c45f 100644 --- a/keyboards/ymdk/ymd09/keyboard.json +++ b/keyboards/ymdk/ymd09/keyboard.json @@ -24,6 +24,12 @@ "nkro": true, "rgb_matrix": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "ws2812": { "pin": "E2" }, diff --git a/keyboards/ymdk/ymd67/config.h b/keyboards/ymdk/ymd67/config.h deleted file mode 100644 index 6f34d5132a..0000000000 --- a/keyboards/ymdk/ymd67/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ymdk/ymd67/keyboard.json b/keyboards/ymdk/ymd67/keyboard.json index 5e470553d5..5f9ba275f9 100644 --- a/keyboards/ymdk/ymd67/keyboard.json +++ b/keyboards/ymdk/ymd67/keyboard.json @@ -18,6 +18,12 @@ "nkro": true, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": false + } + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"], "rows": ["D0", "D1", "D2", "D3", "D5"] |