aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mesa
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-22 13:49:15 -0700
committerGitHub <[email protected]>2024-05-22 21:49:15 +0100
commit199f01cc5760055dfbdc89f426bf5a8f9b49bfb7 (patch)
tree21509be9a7885a7cb7707e241b5577e3b9e1f6d9 /keyboards/mesa
parent7baaac9531c2806e38d8c9e2e0357b3eadbf2a7f (diff)
downloadqmk_firmware-199f01cc5760055dfbdc89f426bf5a8f9b49bfb7.tar.gz
qmk_firmware-199f01cc5760055dfbdc89f426bf5a8f9b49bfb7.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: M, Part 1 (#23772)
Affects: - `m10a` - `machine_industries/m4_a` - `magic_force/mf34` - `majistic` - `makenova/omega/omega4` - `makrosu` - `manta60` - `maple_computing/christmas_tree/v2017` - `maple_computing/ivy/rev1` - `maple_computing/launchpad/rev1` - `maple_computing/minidox/rev1` - `maple_computing/the_ruler` - `marksard/leftover30` - `marksard/treadstone48/rev1` - `marksard/treadstone48/rev2` - `masterworks/classy_tkl/rev_a` - `maxipad` - `maxr1998/phoebe` - `mc_76k` - `mechkeys/acr60` - `mechkeys/alu84` - `mechkeys/espectro` - `mechkeys/mechmini/v2` - `mechkeys/mk60` - `mechlovin/hannah910/rev1` - `mechlovin/hannah910/rev2` - `mechlovin/hannah910/rev3` - `mechlovin/jay60` - `mechlovin/tmkl` - `mechwild/bde/lefty` - `mechwild/bde/rev2` - `mechwild/bde/righty` - `mechwild/mercutio` - `mechwild/mokulua/mirrored` - `mechwild/mokulua/standard` - `mechwild/murphpad` - `mechwild/obe` - `mechwild/puckbuddy` - `meletrix/zoom98` - `melgeek/mj6xy/rev3` - `meme` - `meow65` - `mesa/mesa_tkl` - `meson` - `mikeneko65` - `millipad` - `mini_elixivy` - `mini_ten_key_plus` - `minimon/index_tab` - `mint60` - `misonoworks/karina` - `miuni32` - `mixi`
Diffstat (limited to 'keyboards/mesa')
-rw-r--r--keyboards/mesa/mesa_tkl/config.h23
-rw-r--r--keyboards/mesa/mesa_tkl/keyboard.json6
2 files changed, 6 insertions, 23 deletions
diff --git a/keyboards/mesa/mesa_tkl/config.h b/keyboards/mesa/mesa_tkl/config.h
deleted file mode 100644
index 5ebe5ccc58..0000000000
--- a/keyboards/mesa/mesa_tkl/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2020 Mesa Keyboards
-
-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/mesa/mesa_tkl/keyboard.json b/keyboards/mesa/mesa_tkl/keyboard.json
index ac12e87977..85d1c2b5a0 100644
--- a/keyboards/mesa/mesa_tkl/keyboard.json
+++ b/keyboards/mesa/mesa_tkl/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3"],
"rows": ["D2", "D1", "D0", "B0", "C6", "C7"]