aboutsummaryrefslogtreecommitdiff
path: root/keyboards/p3d/q4z
diff options
context:
space:
mode:
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"]