aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gl516
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-21 05:04:53 -0700
committerGitHub <[email protected]>2024-05-21 13:04:53 +0100
commit73f9fb91a391555748d4839161154b98f95eb8fc (patch)
tree2eb07df367a874c65b9bad24640a35b7c42ac44a /keyboards/gl516
parent2b926774cae11e55001435d0475436137afda7fb (diff)
downloadqmk_firmware-73f9fb91a391555748d4839161154b98f95eb8fc.tar.gz
qmk_firmware-73f9fb91a391555748d4839161154b98f95eb8fc.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: G (#23758)
Affects: - `gboards/ergotaco` - `gboards/georgi` - `gboards/gergo` - `geekboards/tester` - `geonworks/frogmini/fmh` - `geonworks/frogmini/fms` - `gh60/revc` - `gh60/satan` - `ghs/rar` - `gkeyboard/gkb_m16` - `gkeyboard/gpad8_2r` - `gl516/a52gl` - `gl516/j73gl` - `gl516/n51gl` - `gmmk/gmmk2/p65` - `gmmk/gmmk2/p96` - `gmmk/numpad` - `gmmk/pro` - `gon/nerd60` - `gon/nerdtkl` - `gray_studio/aero75` - `gray_studio/cod67` - `gray_studio/space65` - `gray_studio/space65r3` - `gray_studio/think65v3` - `grid600/press`
Diffstat (limited to 'keyboards/gl516')
-rw-r--r--keyboards/gl516/a52gl/config.h5
-rw-r--r--keyboards/gl516/a52gl/keyboard.json6
-rw-r--r--keyboards/gl516/j73gl/config.h5
-rw-r--r--keyboards/gl516/j73gl/keyboard.json6
-rw-r--r--keyboards/gl516/n51gl/config.h5
-rw-r--r--keyboards/gl516/n51gl/keyboard.json6
6 files changed, 18 insertions, 15 deletions
diff --git a/keyboards/gl516/a52gl/config.h b/keyboards/gl516/a52gl/config.h
index a4114e1ca6..7296abd723 100644
--- a/keyboards/gl516/a52gl/config.h
+++ b/keyboards/gl516/a52gl/config.h
@@ -25,8 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// wiring of each half
#define MATRIX_ROW_PINS { D1, D0, D4, C6 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
-
-/* 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/gl516/a52gl/keyboard.json b/keyboards/gl516/a52gl/keyboard.json
index 54fbce6bda..ad4921f635 100644
--- a/keyboards/gl516/a52gl/keyboard.json
+++ b/keyboards/gl516/a52gl/keyboard.json
@@ -15,6 +15,12 @@
"mousekey": true,
"extrakey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/gl516/j73gl/config.h b/keyboards/gl516/j73gl/config.h
index 16d7526f81..dc93e327c3 100644
--- a/keyboards/gl516/j73gl/config.h
+++ b/keyboards/gl516/j73gl/config.h
@@ -25,8 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// wiring of each half
#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, E6 }
-
-/* 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/gl516/j73gl/keyboard.json b/keyboards/gl516/j73gl/keyboard.json
index b252363f70..5fba198a71 100644
--- a/keyboards/gl516/j73gl/keyboard.json
+++ b/keyboards/gl516/j73gl/keyboard.json
@@ -34,6 +34,12 @@
"extrakey": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/gl516/n51gl/config.h b/keyboards/gl516/n51gl/config.h
index a4114e1ca6..7296abd723 100644
--- a/keyboards/gl516/n51gl/config.h
+++ b/keyboards/gl516/n51gl/config.h
@@ -25,8 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// wiring of each half
#define MATRIX_ROW_PINS { D1, D0, D4, C6 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
-
-/* 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/gl516/n51gl/keyboard.json b/keyboards/gl516/n51gl/keyboard.json
index 0e54ee52a4..c1ea4ab579 100644
--- a/keyboards/gl516/n51gl/keyboard.json
+++ b/keyboards/gl516/n51gl/keyboard.json
@@ -40,6 +40,12 @@
"rgblight": true,
"encoder": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT": {
"layout": [