Skip to content

Commit

Permalink
Migrate LOCKING_*_ENABLE to Data-Driven: S, Part 2 (#23784)
Browse files Browse the repository at this point in the history
Affects:

  - `slz40`
  - `smithrune/iron160/iron160_s`
  - `smithrune/iron165r2/f072`
  - `smithrune/iron165r2/f411`
  - `smithrune/iron180`
  - `smithrune/iron180v2/v2h`
  - `smithrune/iron180v2/v2s`
  - `smoll/lefty`
  - `snampad`
  - `sneakbox/aliceclone`
  - `sneakbox/disarray/ortho`
  - `sneakbox/disarray/staggered`
  - `soup10`
  - `soy20`
  - `sparrow62`
  - `split67`
  - `splitish`
  - `splitography`
  - `star75`
  - `stello65/beta`
  - `stello65/hs_rev1`
  - `stello65/sl_rev1`
  - `stenokeyboards/the_uni/pro_micro`
  - `stenokeyboards/the_uni/usb_c`
  - `strech/soulstone`
  - `studiokestra/bourgeau`
  - `studiokestra/cascade`
  - `studiokestra/frl84`
  - `studiokestra/galatea/rev1`
  - `studiokestra/galatea/rev2`
  - `studiokestra/galatea/rev3`
  - `studiokestra/line_friends_tkl`
  - `studiokestra/nascent`
  - `studiokestra/nue`
  - `suavity/ehan`
  - `subatomic`
  - `switchplate/southpaw_65`
  - `switchplate/southpaw_fullsize`
  - `switchplate/switchplate910`
  - `sx60`
  - `system76/launch_1`
  • Loading branch information
noroadsleft authored May 23, 2024
1 parent 634ebc9 commit 0094a6f
Show file tree
Hide file tree
Showing 79 changed files with 247 additions and 759 deletions.
39 changes: 0 additions & 39 deletions keyboards/slz40/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/slz40/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "D2", "F5", "D1", "F6", "D0", "F7", "D4", "B1", "C6", "E6", "D7"],
"rows": ["B4", "B5", "B3", "B2", "B6"]
Expand Down
4 changes: 0 additions & 4 deletions keyboards/smithrune/iron160/iron160_s/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 1
/* 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/smithrune/iron160/iron160_s/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
}
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"matrix_pins": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/smithrune/iron165r2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE

//#define ALL_RGBS // Define the RGB option here
//#define LINE_RGBS
//#define RUNE_RGBS
Expand Down
6 changes: 6 additions & 0 deletions keyboards/smithrune/iron165r2/f072/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"backlight": {
"pin": "A6",
"levels": 20,
Expand Down
6 changes: 6 additions & 0 deletions keyboards/smithrune/iron165r2/f411/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"eeprom": {
"driver": "i2c"
},
Expand Down
5 changes: 0 additions & 5 deletions keyboards/smithrune/iron180/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1

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

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
6 changes: 6 additions & 0 deletions keyboards/smithrune/iron180/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": ["B7", "B6", "B5", "B4", "B3", "A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B2", "A4", "B1", "A3"],
"rows": ["B9", "B8", "A15", "B0", "A7", "A5"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/smithrune/iron180v2/v2h/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,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 WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096
6 changes: 6 additions & 0 deletions keyboards/smithrune/iron180v2/v2h/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"build": {
"lto": true
},
Expand Down
5 changes: 0 additions & 5 deletions keyboards/smithrune/iron180v2/v2s/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2

/* 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 WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096

Expand Down
6 changes: 6 additions & 0 deletions keyboards/smithrune/iron180v2/v2s/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"build": {
"lto": true
},
Expand Down
23 changes: 0 additions & 23 deletions keyboards/smoll/lefty/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/smoll/lefty/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"nkro": false,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"usb": {
"vid": "0x5363",
"pid": "0x0001",
Expand Down
39 changes: 0 additions & 39 deletions keyboards/snampad/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/snampad/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3"],
"rows": ["F4", "F5", "F6", "F7", "B1", "B3"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/sneakbox/aliceclone/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/sneakbox/aliceclone/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F0", "D0", "C7", "C6", "B6", "B5", "B4", "D1"],
"rows": ["F1", "E6", "F4", "B1", "F5", "B2", "F6", "B3", "F7", "B7"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/sneakbox/disarray/ortho/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/sneakbox/disarray/ortho/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
"rows": ["B7", "D0", "D1", "D2", "D3", "B0"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/sneakbox/disarray/staggered/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/sneakbox/disarray/staggered/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "E6"],
"rows": ["B7", "D0", "D1", "D2", "D3"]
Expand Down
Loading

0 comments on commit 0094a6f

Please sign in to comment.