aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/capsunlocked/cu7
diff options
context:
space:
mode:
authorJames Young2024-05-20 22:07:40 +0200
committerGitHub2024-05-20 22:07:40 +0200
commit8ad2e307323415ac0a0198daf79223b3ae90de97 (patch)
tree3a4beef3174a112f1aa69fbc59733af44bdd38d4 /keyboards/capsunlocked/cu7
parent4852b04c20d3e4f4ccb676a36fc529b934a4f976 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: A-C, Part 1 (#23745)
Affects: - `atreus` - `cablecardesigns/cypher/rev6` - `caffeinated/serpent65` - `cannonkeys/adelie` - `cannonkeys/aella` - `cannonkeys/an_c` - `cannonkeys/atlas` - `cannonkeys/atlas_alps` - `cannonkeys/balance` - `cannonkeys/brutalv2_65` - `cannonkeys/chimera65` - `cannonkeys/cloudline` - `cannonkeys/crin` - `cannonkeys/db60` - `cannonkeys/devastatingtkl` - `cannonkeys/gentoo` - `cannonkeys/gentoo_hs` - `cannonkeys/hoodrowg` - `cannonkeys/instant60` - `cannonkeys/instant65` - `cannonkeys/iron165` - `cannonkeys/malicious_ergo` - `cannonkeys/obliterated75` - `cannonkeys/onyx` - `cannonkeys/ortho48` - `cannonkeys/ortho60` - `cannonkeys/ortho75` - `cannonkeys/practice60` - `cannonkeys/practice65` - `cannonkeys/rekt1800` - `cannonkeys/ripple` - `cannonkeys/sagittarius` - `cannonkeys/satisfaction75` - `cannonkeys/savage65` - `cannonkeys/tmov2` - `cannonkeys/tsukuyomi` - `cannonkeys/vicious40` - `capsunlocked/cu24` - `capsunlocked/cu65` - `capsunlocked/cu7` - `capsunlocked/cu75` - `capsunlocked/cu80/v1`
Diffstat (limited to 'keyboards/capsunlocked/cu7')
-rw-r--r--keyboards/capsunlocked/cu7/config.h22
-rw-r--r--keyboards/capsunlocked/cu7/keyboard.json6
2 files changed, 6 insertions, 22 deletions
diff --git a/keyboards/capsunlocked/cu7/config.h b/keyboards/capsunlocked/cu7/config.h
deleted file mode 100644
index b7767c19ec..0000000000
--- a/keyboards/capsunlocked/cu7/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2021 CapsUnlocked
-
-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/capsunlocked/cu7/keyboard.json b/keyboards/capsunlocked/cu7/keyboard.json
index 6f96c00e50..46f8b34213 100644
--- a/keyboards/capsunlocked/cu7/keyboard.json
+++ b/keyboards/capsunlocked/cu7/keyboard.json
@@ -38,6 +38,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F5", "F7", "F4"],
"rows": ["D7", "F0", "F6"]