aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/deltapad
diff options
context:
space:
mode:
authorJames Young2024-05-20 21:31:42 +0200
committerGitHub2024-05-20 21:31:42 +0200
commit4d31c5172515a3cf5ea92010142ae11a2743e235 (patch)
tree7bc4afa1f4eda6165a7876e6d8f8f980dfc3d97e /keyboards/deltapad
parent5fda3490187a7448176b7d37bf16c1cd1d80b736 (diff)
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/deltapad')
-rw-r--r--keyboards/deltapad/config.h39
-rw-r--r--keyboards/deltapad/keyboard.json6
2 files changed, 6 insertions, 39 deletions
diff --git a/keyboards/deltapad/config.h b/keyboards/deltapad/config.h
deleted file mode 100644
index a62147158e..0000000000
--- a/keyboards/deltapad/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Richard Snijder
-
-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/deltapad/keyboard.json b/keyboards/deltapad/keyboard.json
index 256f2ba105..23683bbd1e 100644
--- a/keyboards/deltapad/keyboard.json
+++ b/keyboards/deltapad/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D7", "E6", "B4", "B5"],
"rows": ["D2", "D3", "D1", "D0"]