Skip to content

Commit

Permalink
Migrate LOCKING_*_ENABLE to Data-Driven: G (#23758)
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
noroadsleft authored May 21, 2024
1 parent 2b92677 commit 73f9fb9
Show file tree
Hide file tree
Showing 52 changed files with 159 additions and 349 deletions.
5 changes: 0 additions & 5 deletions keyboards/gboards/ergotaco/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

/* 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

/* key combination for command */
#define IS_COMMAND() (get_mods() == MOD_MASK_CTRL || get_mods() == MOD_MASK_SHIFT)
6 changes: 6 additions & 0 deletions keyboards/gboards/ergotaco/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"console": true,
"command": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"tapping": {
"toggle": 1
},
Expand Down
5 changes: 0 additions & 5 deletions keyboards/gboards/georgi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

/* 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

/* key combination for command */
#define IS_COMMAND() ( \
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
Expand Down
6 changes: 6 additions & 0 deletions keyboards/gboards/georgi/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"nkro": true,
"steno": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"build": {
"lto": true
},
Expand Down
5 changes: 0 additions & 5 deletions keyboards/gboards/gergo/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

/* 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

/* key combination for command */
#define IS_COMMAND() ( \
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
Expand Down
6 changes: 6 additions & 0 deletions keyboards/gboards/gergo/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"console": true,
"command": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"tapping": {
"toggle": 1
},
Expand Down
3 changes: 0 additions & 3 deletions keyboards/geekboards/tester/config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#pragma once

#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND

#define LOCKING_SUPPORT_ENABL
#define LOCKING_RESYNC_ENABLE
6 changes: 6 additions & 0 deletions keyboards/geekboards/tester/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
"nkro": true,
"rgb_matrix": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F7", "F6", "D2", "D3"],
"rows": ["B0", "D4"]
Expand Down
3 changes: 0 additions & 3 deletions keyboards/geonworks/frogmini/fmh/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EEPROM_I2C_24LC256
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
6 changes: 6 additions & 0 deletions keyboards/geonworks/frogmini/fmh/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["C4", "C5", "B0", "C13", "C14", "C15", "B9", "C1", "C2", "C3", "A6", "A5", "A4", "A0"],
"rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
Expand Down
3 changes: 0 additions & 3 deletions keyboards/geonworks/frogmini/fms/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EEPROM_I2C_24LC256
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
6 changes: 6 additions & 0 deletions keyboards/geonworks/frogmini/fms/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["C4", "C5", "B0", "C13", "C14", "C15", "B9", "C1", "C2", "C3", "A6", "A5", "A4", "A0"],
"rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/gh60/revc/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/gh60/revc/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/gh60/satan/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/gh60/satan/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/ghs/rar/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/ghs/rar/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
"nkro": false,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "D1"],
"rows": ["B0", "B7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/gkeyboard/gkb_m16/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/gkeyboard/gkb_m16/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7"],
"rows": ["D4", "D5", "D6", "D7"]
Expand Down
9 changes: 0 additions & 9 deletions keyboards/gkeyboard/gpad8_2r/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/gkeyboard/gpad8_2r/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"nkro": true,
"rgb_matrix": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["GP12", "GP11", "GP10", "GP9"],
"rows": ["GP4", "GP5", "GP6"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/gl516/a52gl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions keyboards/gl516/a52gl/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"mousekey": true,
"extrakey": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
5 changes: 0 additions & 5 deletions keyboards/gl516/j73gl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 73f9fb9

Please sign in to comment.