aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wuque/mammoth20x
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-23 19:14:06 -0700
committerGitHub <[email protected]>2024-05-24 03:14:06 +0100
commit8abd87d586d023105d689fd22bd9d3b7d514c454 (patch)
tree1adab51b7770f5b703e02cd12a50dc27219b440d /keyboards/wuque/mammoth20x
parent84134115711f5165bffc862e6386346b29099c18 (diff)
downloadqmk_firmware-8abd87d586d023105d689fd22bd9d3b7d514c454.tar.gz
qmk_firmware-8abd87d586d023105d689fd22bd9d3b7d514c454.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: W, Part 2 (#23789)
Affects: - `wilba_tech/rama_works_kara` - `wilba_tech/rama_works_koyu` - `wilba_tech/rama_works_m10_b` - `wilba_tech/rama_works_m10_c` - `wilba_tech/rama_works_m50_a` - `wilba_tech/rama_works_m50_ax` - `wilba_tech/rama_works_m60_a` - `wilba_tech/rama_works_m65_b` - `wilba_tech/rama_works_m65_bx` - `wilba_tech/rama_works_m6_a` - `wilba_tech/rama_works_m6_b` - `wilba_tech/rama_works_u80_a` - `wilba_tech/wt60_a` - `wilba_tech/wt60_b` - `wilba_tech/wt60_bx` - `wilba_tech/wt60_c` - `wilba_tech/wt60_d` - `wilba_tech/wt60_g` - `wilba_tech/wt60_g2` - `wilba_tech/wt60_h1` - `wilba_tech/wt60_h2` - `wilba_tech/wt60_h3` - `wilba_tech/wt60_xt` - `wilba_tech/wt65_a` - `wilba_tech/wt65_b` - `wilba_tech/wt65_d` - `wilba_tech/wt65_f` - `wilba_tech/wt65_fx` - `wilba_tech/wt65_g` - `wilba_tech/wt65_g2` - `wilba_tech/wt65_h1` - `wilba_tech/wt65_xt` - `wilba_tech/wt65_xtx` - `wilba_tech/wt69_a` - `wilba_tech/wt70_jb` - `wilba_tech/wt75_a` - `wilba_tech/wt75_b` - `wilba_tech/wt75_c` - `wilba_tech/wt80_a` - `wilba_tech/wt80_g` - `wilba_tech/zeal60` - `wilba_tech/zeal65` - `woodkeys/meira/featherble` - `wsk/alpha9` - `wsk/g4m3ralpha` - `wsk/gothic50` - `wsk/gothic70` - `wsk/houndstooth` - `wsk/jerkin` - `wsk/kodachi50` - `wsk/pain27` - `wsk/sl40` - `wsk/tkl30` - `wuque/ikki68` - `wuque/mammoth20x` - `wuque/mammoth75x` - `wuque/nemui65` - `wuque/tata80/wk` - `wuque/tata80/wkl`
Diffstat (limited to 'keyboards/wuque/mammoth20x')
-rw-r--r--keyboards/wuque/mammoth20x/config.h24
-rw-r--r--keyboards/wuque/mammoth20x/keyboard.json6
2 files changed, 6 insertions, 24 deletions
diff --git a/keyboards/wuque/mammoth20x/config.h b/keyboards/wuque/mammoth20x/config.h
deleted file mode 100644
index db5a8d534e..0000000000
--- a/keyboards/wuque/mammoth20x/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 wuquestudio
-
-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/wuque/mammoth20x/keyboard.json b/keyboards/wuque/mammoth20x/keyboard.json
index 24b1715a0f..6c8e252541 100644
--- a/keyboards/wuque/mammoth20x/keyboard.json
+++ b/keyboards/wuque/mammoth20x/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "B1", "E6", "F7"],
"rows": ["D5", "F0", "F1", "F4", "F5", "F6"]