Skip to content

Commit

Permalink
Migrate LOCKING_*_ENABLE to Data-Driven: 0-9 (qmk#23716)
Browse files Browse the repository at this point in the history
Affects:

  - `0_sixty`
  - `1upkeyboards/pi40`
  - `1upkeyboards/pi50`
  - `40percentclub/gherkin`
  - `4pplet/perk60_iso/rev_a`
  • Loading branch information
noroadsleft authored and nuess0r committed Sep 8, 2024
1 parent 89a4ad3 commit f955da6
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 60 deletions.
38 changes: 0 additions & 38 deletions keyboards/0_sixty/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/0_sixty/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"build": {
"lto": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
Expand Down
5 changes: 0 additions & 5 deletions keyboards/1upkeyboards/pi40/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@
#define I2C_DRIVER I2CD0
#define OLED_BRIGHTNESS 128
#define OLED_FONT_H "keyboards/1upkeyboards/pi40/lib/glcdfont.c"

/* 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/1upkeyboards/pi40/info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"rgb_matrix": {
"animations":{
"alphas_mods": true,
Expand Down
5 changes: 0 additions & 5 deletions keyboards/1upkeyboards/pi50/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,3 @@
#define I2C_DRIVER I2CD1
#define OLED_BRIGHTNESS 128
#define OLED_FONT_H "keyboards/1upkeyboards/pi50/lib/glcdfont.c"

/* 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/1upkeyboards/pi50/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"rgb_matrix": true,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"rows": ["GP20", "GP15", "GP19", "GP14", "GP18", "GP13", "GP17", "GP12", "GP16", "GP21"],
"cols": ["GP1", "GP2", "GP3", "GP4", "GP5", "GP6", "GP9"]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/40percentclub/gherkin/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/40percentclub/gherkin/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"nkro": true,
"backlight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"community_layouts": ["ortho_3x10"],
"layouts": {
"LAYOUT_ortho_3x10": {
Expand Down
5 changes: 0 additions & 5 deletions keyboards/4pplet/perk60_iso/rev_a/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@ 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

#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
#define IS31FL3733_PWM_FREQUENCY IS31FL3733_PWM_FREQUENCY_26K7_HZ
6 changes: 6 additions & 0 deletions keyboards/4pplet/perk60_iso/rev_a/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
"nkro": true,
"rgb_matrix": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A1", "B12", "B14", "A2", "A0", "A3", "A4"],
"rows": ["C14", "C13", "B5", "B4", "B8", "A15", "B3", "B9", "A5", "A7"]
Expand Down

0 comments on commit f955da6

Please sign in to comment.