aboutsummaryrefslogtreecommitdiff
path: root/keyboards/uk78
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/uk78
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/uk78')
-rw-r--r--keyboards/uk78/config.h24
-rw-r--r--keyboards/uk78/keyboard.json6
2 files changed, 6 insertions, 24 deletions
diff --git a/keyboards/uk78/config.h b/keyboards/uk78/config.h
deleted file mode 100644
index 822b37da7f..0000000000
--- a/keyboards/uk78/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2017 Ruari Armstrong <[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
diff --git a/keyboards/uk78/keyboard.json b/keyboards/uk78/keyboard.json
index 8b6b5e9fed..673497ca9c 100644
--- a/keyboards/uk78/keyboard.json
+++ b/keyboards/uk78/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A2", "A1", "F5", "F4", "E6", "E7", "E5", "E4", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "E0"],
"rows": ["F3", "F2", "F1", "F0", "A0"]