aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/co60
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-22 02:53:40 -0700
committerGitHub <[email protected]>2024-05-22 10:53:40 +0100
commitd1547320a0236eff98906f908224fe0d46b4b0e5 (patch)
treead35b86b75a23817e54136aa1ee2b6fede1e6c3f /keyboards/handwired/co60
parentac2e19b4d65ad08116ef3b4fc0e87005a2590e78 (diff)
downloadqmk_firmware-d1547320a0236eff98906f908224fe0d46b4b0e5.tar.gz
qmk_firmware-d1547320a0236eff98906f908224fe0d46b4b0e5.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: H, Part 2 (#23762)
Affects: - `handwired/108key_trackpoint` - `handwired/2x5keypad` - `handwired/3dp660` - `handwired/412_64` - `handwired/42` - `handwired/amigopunk` - `handwired/aranck` - `handwired/atreus50` - `handwired/axon` - `handwired/battleship_gamepad` - `handwired/bdn9_ble` - `handwired/bento/rev1` - `handwired/bolek` - `handwired/brain` - `handwired/bstk100` - `handwired/cans12er` - `handwired/chiron` - `handwired/ck4x4` - `handwired/cmd60` - `handwired/co60/rev6` - `handwired/co60/rev7` - `handwired/colorlice` - `handwired/curiosity` - `handwired/dactyl_left` - `handwired/dactyl_manuform/4x5` - `handwired/dactyl_manuform/4x5_5` - `handwired/dactyl_manuform/4x6` - `handwired/dactyl_manuform/4x6_4_3` - `handwired/dactyl_manuform/4x6_5` - `handwired/dactyl_manuform/5x6` - `handwired/dactyl_manuform/5x6_2_5` - `handwired/dactyl_manuform/5x6_5` - `handwired/dactyl_manuform/5x6_6` - `handwired/dactyl_manuform/5x6_68` - `handwired/dactyl_manuform/5x7` - `handwired/dactyl_manuform/6x6/blackpill_f411` - `handwired/dactyl_manuform/6x6/promicro` - `handwired/dactyl_manuform/6x6_4` - `handwired/dactyl_manuform/6x7` - `handwired/dactyl_promicro` - `handwired/dactyl_rah` - `handwired/datahand` - `handwired/evk/v1_3` - `handwired/fc200rt_qmk` - `handwired/fivethirteen` - `handwired/floorboard` - `handwired/fruity60` - `handwired/gamenum` - `handwired/hacked_motospeed` - `handwired/heisenberg` - `handwired/hnah40`
Diffstat (limited to 'keyboards/handwired/co60')
-rw-r--r--keyboards/handwired/co60/rev6/config.h22
-rw-r--r--keyboards/handwired/co60/rev6/keyboard.json6
-rw-r--r--keyboards/handwired/co60/rev7/config.h5
-rw-r--r--keyboards/handwired/co60/rev7/keyboard.json6
4 files changed, 12 insertions, 27 deletions
diff --git a/keyboards/handwired/co60/rev6/config.h b/keyboards/handwired/co60/rev6/config.h
deleted file mode 100644
index fa1c24a396..0000000000
--- a/keyboards/handwired/co60/rev6/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright 2019 John M Daly <[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/handwired/co60/rev6/keyboard.json b/keyboards/handwired/co60/rev6/keyboard.json
index e772f0ba42..743a738ff0 100644
--- a/keyboards/handwired/co60/rev6/keyboard.json
+++ b/keyboards/handwired/co60/rev6/keyboard.json
@@ -13,6 +13,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A2", "A3", "A6", "B14", "B15", "A8", "A9", "A7", "B3", "B4", "C14", "C15", "C13", "B5", "B6"],
"rows": ["B0", "B1", "B2", "A15", "A10"]
diff --git a/keyboards/handwired/co60/rev7/config.h b/keyboards/handwired/co60/rev7/config.h
index b6b7cecec2..f9d324e287 100644
--- a/keyboards/handwired/co60/rev7/config.h
+++ b/keyboards/handwired/co60/rev7/config.h
@@ -17,11 +17,6 @@ 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
-
/* RGB underglow configuration */
#define WS2812_SPI_DRIVER SPID1
#define WS2812_SPI_MOSI_PAL_MODE 5
diff --git a/keyboards/handwired/co60/rev7/keyboard.json b/keyboards/handwired/co60/rev7/keyboard.json
index 967c673d39..4319c9aedf 100644
--- a/keyboards/handwired/co60/rev7/keyboard.json
+++ b/keyboards/handwired/co60/rev7/keyboard.json
@@ -14,6 +14,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A10", "A9", "A3", "A4", "A5", "A6", "B0", "B1", "A15", "B3", "B4", "B5", "C13", "C14", "C15"],
"rows": ["A8", "A2", "B13", "B2", "B10"]