aboutsummaryrefslogtreecommitdiff
path: root/keyboards/draytronics
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-20 12:34:57 -0700
committerGitHub <[email protected]>2024-05-20 20:34:57 +0100
commit03f0d683420a1efa9709f61dd778e764300d86ea (patch)
tree7d6f91e67c4c0036838fbc98ebccdefb0cf36a82 /keyboards/draytronics
parent4d31c5172515a3cf5ea92010142ae11a2743e235 (diff)
downloadqmk_firmware-03f0d683420a1efa9709f61dd778e764300d86ea.tar.gz
qmk_firmware-03f0d683420a1efa9709f61dd778e764300d86ea.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: D, Part 2 (#23750)
Affects: - `do60` - `doio/kb30` - `donutcables/scrabblepad` - `doppelganger` - `doro67/rgb` - `dotmod/dymium65` - `draytronics/daisy` - `draytronics/elise` - `draytronics/elise_v2` - `drewkeys/iskar` - `drhigsby/bkf` - `drhigsby/dubba175` - `drhigsby/ogurec` - `drhigsby/packrat` - `dtisaac/cg108` - `dumbo` - `dz60` - `dztech/bocc` - `dztech/duo_s`
Diffstat (limited to 'keyboards/draytronics')
-rw-r--r--keyboards/draytronics/daisy/config.h37
-rw-r--r--keyboards/draytronics/daisy/keyboard.json6
-rw-r--r--keyboards/draytronics/elise/config.h24
-rw-r--r--keyboards/draytronics/elise/keyboard.json6
-rw-r--r--keyboards/draytronics/elise_v2/config.h24
-rw-r--r--keyboards/draytronics/elise_v2/keyboard.json6
6 files changed, 17 insertions, 86 deletions
diff --git a/keyboards/draytronics/daisy/config.h b/keyboards/draytronics/daisy/config.h
deleted file mode 100644
index 96a4395584..0000000000
--- a/keyboards/draytronics/daisy/config.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*Copyright 2021 Blake Drayson / Draytronics
-
-
-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/draytronics/daisy/keyboard.json b/keyboards/draytronics/daisy/keyboard.json
index f871517e87..92b0b54f43 100644
--- a/keyboards/draytronics/daisy/keyboard.json
+++ b/keyboards/draytronics/daisy/keyboard.json
@@ -30,7 +30,11 @@
]
},
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgblight": {
"saturation_steps": 8,
diff --git a/keyboards/draytronics/elise/config.h b/keyboards/draytronics/elise/config.h
deleted file mode 100644
index 0df48812aa..0000000000
--- a/keyboards/draytronics/elise/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*Copyright 2021 Blake Drayson / Draytronics
-
-
-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/draytronics/elise/keyboard.json b/keyboards/draytronics/elise/keyboard.json
index 62ccd9babb..782c61d764 100644
--- a/keyboards/draytronics/elise/keyboard.json
+++ b/keyboards/draytronics/elise/keyboard.json
@@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3", "D5"],
"rows": ["B2", "B3", "B1", "F0", "F1"]
diff --git a/keyboards/draytronics/elise_v2/config.h b/keyboards/draytronics/elise_v2/config.h
deleted file mode 100644
index 0df48812aa..0000000000
--- a/keyboards/draytronics/elise_v2/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*Copyright 2021 Blake Drayson / Draytronics
-
-
-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/draytronics/elise_v2/keyboard.json b/keyboards/draytronics/elise_v2/keyboard.json
index 91f34c23f8..217f837e19 100644
--- a/keyboards/draytronics/elise_v2/keyboard.json
+++ b/keyboards/draytronics/elise_v2/keyboard.json
@@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3", "D5"],
"rows": ["B2", "B3", "B1", "F0", "F1"]