aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ztboards/after
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-23 19:14:15 -0700
committerGitHub <[email protected]>2024-05-24 03:14:15 +0100
commit8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (patch)
tree9a0e6fbbfcc38fda77a5e49abb57c3f83bd41bc4 /keyboards/ztboards/after
parent8abd87d586d023105d689fd22bd9d3b7d514c454 (diff)
downloadqmk_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/ztboards/after')
-rw-r--r--keyboards/ztboards/after/config.h23
-rw-r--r--keyboards/ztboards/after/keyboard.json6
2 files changed, 6 insertions, 23 deletions
diff --git a/keyboards/ztboards/after/config.h b/keyboards/ztboards/after/config.h
deleted file mode 100644
index 59d91c329d..0000000000
--- a/keyboards/ztboards/after/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2019
- *
- * 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/ztboards/after/keyboard.json b/keyboards/ztboards/after/keyboard.json
index 08fcdb3625..1b02390837 100644
--- a/keyboards/ztboards/after/keyboard.json
+++ b/keyboards/ztboards/after/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D7", "D6", "D4", "C7", "C6", "B6", "B5", "B4", "F7", "F0", "F4", "F1"],
"rows": ["B3", "F6", "F5", "D5", "B2"]