aboutsummaryrefslogtreecommitdiff
path: root/keyboards/p3d/q4z
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-23 11:49:48 -0700
committerGitHub <[email protected]>2024-05-23 19:49:48 +0100
commitbfa05cc5e7a41c0291690516c2954aaefde7d9b9 (patch)
tree6fcacc6686c6933a53bd7dde2f2542c7fd859b0b /keyboards/p3d/q4z
parentf37f27f02a55f750c21f671e712e3f704ba57885 (diff)
downloadqmk_firmware-bfa05cc5e7a41c0291690516c2954aaefde7d9b9.tar.gz
qmk_firmware-bfa05cc5e7a41c0291690516c2954aaefde7d9b9.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 1 (#23779)
Affects: - `p3d/eu_isolation` - `p3d/glitch` - `p3d/q4z` - `p3d/synapse` - `p3d/tw40` - `panc40` - `papercranekeyboards/gerald65` - `parallel/parallel_65/hotswap` - `parallel/parallel_65/soldered` - `pdxkbc` - `pearlboards/atlas` - `pearlboards/pandora` - `pearlboards/pearl` - `pearlboards/zeus` - `pearlboards/zeuspad` - `pegasus` - `phantom` - `phoenix` - `picolab/frusta_fundamental` - `pimentoso/paddino02/rev1` - `pimentoso/paddino02/rev2/left` - `pimentoso/paddino02/rev2/right` - `pisces` - `pizzakeyboards/pizza65` - `pkb65` - `planck` - `playkbtw/ca66` - `playkbtw/pk60` - `playkbtw/pk64rgb` - `pluckey` - `plume/plume65` - `plywrks/ahgase` - `plywrks/lune` - `pohjolaworks/louhi` - `polycarbdiet/s20` - `pom_keyboards/tnln95` - `portal_66/hotswap` - `portal_66/soldered` - `pos78`
Diffstat (limited to 'keyboards/p3d/q4z')
-rw-r--r--keyboards/p3d/q4z/config.h21
-rw-r--r--keyboards/p3d/q4z/keyboard.json6
2 files changed, 6 insertions, 21 deletions
diff --git a/keyboards/p3d/q4z/config.h b/keyboards/p3d/q4z/config.h
deleted file mode 100644
index 67553a4432..0000000000
--- a/keyboards/p3d/q4z/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright 2021 rjboone
- *
- * 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/p3d/q4z/keyboard.json b/keyboards/p3d/q4z/keyboard.json
index 0b71df61b3..9dfa123c6c 100644
--- a/keyboards/p3d/q4z/keyboard.json
+++ b/keyboards/p3d/q4z/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D1", "D0", "D4", "B6", "B2", "B3", "B1", "F7", "F6", "F5"],
"rows": ["F4", "C6", "D7", "E6", "B4"]