aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dk60
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-20 12:31:42 -0700
committerGitHub <[email protected]>2024-05-20 20:31:42 +0100
commit4d31c5172515a3cf5ea92010142ae11a2743e235 (patch)
tree7bc4afa1f4eda6165a7876e6d8f8f980dfc3d97e /keyboards/dk60
parent5fda3490187a7448176b7d37bf16c1cd1d80b736 (diff)
downloadqmk_firmware-4d31c5172515a3cf5ea92010142ae11a2743e235.tar.gz
qmk_firmware-4d31c5172515a3cf5ea92010142ae11a2743e235.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: D, Part 1 (#23749)
Affects: - `dailycraft/owl8` - `dailycraft/sandbox/rev1` - `dailycraft/sandbox/rev2` - `dailycraft/stickey4` - `dailycraft/wings42/rev1` - `dailycraft/wings42/rev1_extkeys` - `dailycraft/wings42/rev2` - `daji/seis_cinco` - `dark/magnum_ergo_1` - `darkproject/kd83a_bfg_edition` - `darkproject/kd87a_bfg_edition` - `dc01/arrow` - `dc01/left` - `dc01/numpad` - `dc01/right` - `dcpedit/redherring` - `delikeeb/flatbread60` - `delikeeb/vaguettelite` - `delikeeb/vanana/rev1` - `delikeeb/vanana/rev2` - `delikeeb/vaneela` - `delikeeb/vaneelaex` - `delikeeb/waaffle/rev3/elite_c` - `delikeeb/waaffle/rev3/pro_micro` - `deltapad` - `deltasplit75/v2` - `dk60` - `dm9records/lain` - `dm9records/plaid` - `dm9records/tartan` - `dmqdesign/spin`
Diffstat (limited to 'keyboards/dk60')
-rw-r--r--keyboards/dk60/config.h39
-rw-r--r--keyboards/dk60/keyboard.json6
2 files changed, 6 insertions, 39 deletions
diff --git a/keyboards/dk60/config.h b/keyboards/dk60/config.h
deleted file mode 100644
index cfa9c05154..0000000000
--- a/keyboards/dk60/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2017 Damien Broqua <[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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/dk60/keyboard.json b/keyboards/dk60/keyboard.json
index 3e451a5c8d..a88920814d 100644
--- a/keyboards/dk60/keyboard.json
+++ b/keyboards/dk60/keyboard.json
@@ -18,6 +18,12 @@
"sleep_led": true,
"unicode": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "B3", "B2", "B1", "D3", "D5", "B5", "B7", "C6", "C7", "D0", "D1", "D2"],
"rows": ["B6", "B4", "D7", "D6", "D4"]