aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dz60
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-20 12:34:57 -0700
committerGitHub <[email protected]>2024-05-20 20:34:57 +0100
commit03f0d683420a1efa9709f61dd778e764300d86ea (patch)
tree7d6f91e67c4c0036838fbc98ebccdefb0cf36a82 /keyboards/dz60
parent4d31c5172515a3cf5ea92010142ae11a2743e235 (diff)
downloadqmk_firmware-03f0d683420a1efa9709f61dd778e764300d86ea.tar.gz
qmk_firmware-03f0d683420a1efa9709f61dd778e764300d86ea.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: D, Part 2 (#23750)
Affects: - `do60` - `doio/kb30` - `donutcables/scrabblepad` - `doppelganger` - `doro67/rgb` - `dotmod/dymium65` - `draytronics/daisy` - `draytronics/elise` - `draytronics/elise_v2` - `drewkeys/iskar` - `drhigsby/bkf` - `drhigsby/dubba175` - `drhigsby/ogurec` - `drhigsby/packrat` - `dtisaac/cg108` - `dumbo` - `dz60` - `dztech/bocc` - `dztech/duo_s`
Diffstat (limited to 'keyboards/dz60')
-rw-r--r--keyboards/dz60/config.h5
-rw-r--r--keyboards/dz60/keyboard.json6
2 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h
index bec7fcc3dc..2e5656e5f8 100644
--- a/keyboards/dz60/config.h
+++ b/keyboards/dz60/config.h
@@ -1,9 +1,4 @@
#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
-
/* VIA related config */
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
diff --git a/keyboards/dz60/keyboard.json b/keyboards/dz60/keyboard.json
index a6beff0d63..e3e7495958 100644
--- a/keyboards/dz60/keyboard.json
+++ b/keyboards/dz60/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"],
"rows": ["D0", "D1", "D2", "D3", "D5"]