aboutsummaryrefslogtreecommitdiff
path: root/keyboards/joshajohnson
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/joshajohnson')
-rwxr-xr-xkeyboards/joshajohnson/hub16/config.h5
-rw-r--r--keyboards/joshajohnson/hub16/keyboard.json6
-rw-r--r--keyboards/joshajohnson/hub20/config.h24
-rw-r--r--keyboards/joshajohnson/hub20/keyboard.json6
4 files changed, 11 insertions, 30 deletions
diff --git a/keyboards/joshajohnson/hub16/config.h b/keyboards/joshajohnson/hub16/config.h
index 68576635a8..82ec6081ad 100755
--- a/keyboards/joshajohnson/hub16/config.h
+++ b/keyboards/joshajohnson/hub16/config.h
@@ -25,8 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-/* 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/joshajohnson/hub16/keyboard.json b/keyboards/joshajohnson/hub16/keyboard.json
index 7d8f0ab356..1c9d3ea436 100644
--- a/keyboards/joshajohnson/hub16/keyboard.json
+++ b/keyboards/joshajohnson/hub16/keyboard.json
@@ -44,6 +44,12 @@
"rgblight": true,
"encoder": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"debounce": 20,
"layouts": {
"LAYOUT": {
diff --git a/keyboards/joshajohnson/hub20/config.h b/keyboards/joshajohnson/hub20/config.h
deleted file mode 100644
index 29471149d1..0000000000
--- a/keyboards/joshajohnson/hub20/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 joshajohnson
-Copyright 2021 peepeetee
-
-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/joshajohnson/hub20/keyboard.json b/keyboards/joshajohnson/hub20/keyboard.json
index 4bedd20c4a..44a3361838 100644
--- a/keyboards/joshajohnson/hub20/keyboard.json
+++ b/keyboards/joshajohnson/hub20/keyboard.json
@@ -52,7 +52,11 @@
]
},
"qmk": {
- "tap_keycode_delay": 10
+ "tap_keycode_delay": 10,
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"rgblight": {
"led_count": 27