summaryrefslogtreecommitdiff
path: root/keyboards/tokyokeyboard
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-05-23 11:48:32 -0700
committerGitHub <noreply@github.com>2024-05-23 19:48:32 +0100
commit912124f71cfcd9276fec13b27dea0029e49b1483 (patch)
tree0f8810b423fc2334cd4398f567ffebafd040e57a /keyboards/tokyokeyboard
parent04bf30aad8540fb2cdcf19f9a5170ea099fa3476 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: T (#23785)
Affects: - `takashicompany/center_enter` - `takashicompany/endzone34` - `takashicompany/qoolee` - `takashicompany/radialex` - `takashiski/namecard2x4/rev1` - `takashiski/namecard2x4/rev2` - `takashiski/otaku_split/rev0` - `takashiski/otaku_split/rev1` - `taleguers/taleguers75` - `tanuki` - `team0110/p1800fl` - `technika` - `tenki` - `tetris` - `tg4x` - `the_royal/liminal` - `the_royal/schwann` - `thevankeyboards/bananasplit` - `thevankeyboards/caravan` - `thevankeyboards/jetvan` - `thevankeyboards/minivan` - `thevankeyboards/roadkit` - `tkc/california` - `tkc/m0lly` - `tkc/tkc1800` - `tkc/tkl_ab87` - `tkw/stoutgat/v2` - `tmo50` - `toad` - `toffee_studio/blueberry` - `tokyokeyboard/alix40` - `tokyokeyboard/tokyo60` - `tominabox1/adalyn` - `tominabox1/le_chiffre` - `tominabox1/qaz` - `tr60w` - `treasure/type9` - `tszaboo/ortho4exent`
Diffstat (limited to 'keyboards/tokyokeyboard')
-rw-r--r--keyboards/tokyokeyboard/alix40/config.h6
-rw-r--r--keyboards/tokyokeyboard/alix40/keyboard.json6
-rw-r--r--keyboards/tokyokeyboard/tokyo60/config.h7
-rw-r--r--keyboards/tokyokeyboard/tokyo60/keyboard.json6
4 files changed, 12 insertions, 13 deletions
diff --git a/keyboards/tokyokeyboard/alix40/config.h b/keyboards/tokyokeyboard/alix40/config.h
index 1ca9b6c46d..51d446c6d2 100644
--- a/keyboards/tokyokeyboard/alix40/config.h
+++ b/keyboards/tokyokeyboard/alix40/config.h
@@ -14,11 +14,5 @@ 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
-
/* Bluetooth */
#define BATTERY_LEVEL_PIN B6
diff --git a/keyboards/tokyokeyboard/alix40/keyboard.json b/keyboards/tokyokeyboard/alix40/keyboard.json
index e4c27aaec2..b8b5420c66 100644
--- a/keyboards/tokyokeyboard/alix40/keyboard.json
+++ b/keyboards/tokyokeyboard/alix40/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "F1", "F0", "D0", "D1", "D2", "D3", "D5", "D6"],
"rows": ["D7", "C6", "C7", "B5"]
diff --git a/keyboards/tokyokeyboard/tokyo60/config.h b/keyboards/tokyokeyboard/tokyo60/config.h
deleted file mode 100644
index 5f36081323..0000000000
--- a/keyboards/tokyokeyboard/tokyo60/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/tokyokeyboard/tokyo60/keyboard.json b/keyboards/tokyokeyboard/tokyo60/keyboard.json
index 78fdcae0e3..b590946a3a 100644
--- a/keyboards/tokyokeyboard/tokyo60/keyboard.json
+++ b/keyboards/tokyokeyboard/tokyo60/keyboard.json
@@ -19,6 +19,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B2", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]