aboutsummaryrefslogtreecommitdiff
path: root/keyboards/utd80
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-23 11:40:41 -0700
committerGitHub <[email protected]>2024-05-23 19:40:41 +0100
commit04bf30aad8540fb2cdcf19f9a5170ea099fa3476 (patch)
tree9beda6980dde71a28b525e4814582fe0384d8447 /keyboards/utd80
parente659c3dae9c50293a1483190db07601a83b73fef (diff)
downloadqmk_firmware-04bf30aad8540fb2cdcf19f9a5170ea099fa3476.tar.gz
qmk_firmware-04bf30aad8540fb2cdcf19f9a5170ea099fa3476.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: U-V (#23786)
Affects: - `uk78` - `ungodly/nines` - `unikeyboard/diverge3` - `unikeyboard/divergetm2` - `unikeyboard/felix` - `uranuma` - `utd80` - `v60_type_r` - `vagrant_10` - `viendi8l` - `viktus/at101_bh` - `viktus/omnikey_bh` - `viktus/smolka` - `viktus/sp111` - `viktus/styrka` - `viktus/z150_bh` - `vitamins_included/rev1`
Diffstat (limited to 'keyboards/utd80')
-rw-r--r--keyboards/utd80/config.h22
-rw-r--r--keyboards/utd80/keyboard.json6
2 files changed, 6 insertions, 22 deletions
diff --git a/keyboards/utd80/config.h b/keyboards/utd80/config.h
deleted file mode 100644
index 4a4d65e62f..0000000000
--- a/keyboards/utd80/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 UTDKeyboard & Dominic Gan
- *
- * 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/utd80/keyboard.json b/keyboards/utd80/keyboard.json
index 6e4c966d40..41bd35c66a 100644
--- a/keyboards/utd80/keyboard.json
+++ b/keyboards/utd80/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "D3", "E6", "D7", "D6", "D4", "D2", "D1"],
"rows": ["B4", "D5", "D0", "B2", "B3", "B0"]