Skip to content

Commit

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

  - `preonic/rev1`
  - `preonic/rev2`
  - `preonic/rev3`
  - `preonic/rev3_drop`
  - `primekb/meridian/ktr1010`
  - `primekb/meridian/ws2812`
  - `primekb/meridian_rgb`
  - `primekb/prime_m`
  - `primekb/prime_o`
  - `primekb/prime_r`
  - `projectcain/relic`
  - `projectcain/vault45`
  - `projectd/65/projectd_65_ansi`
  - `projectd/75/ansi`
  - `projectkb/alice/rev1`
  - `projectkb/alice/rev2`
  - `projectkb/signature65`
  - `projectkb/signature87`
  - `prototypist/allison`
  - `prototypist/allison_numpad`
  - `prototypist/j01`
  - `psuieee/pluto12`
  - `pteron36`
  - `puck`
  - `punk75`
  • Loading branch information
noroadsleft authored May 23, 2024
1 parent bfa05cc commit c4e182b
Show file tree
Hide file tree
Showing 47 changed files with 142 additions and 417 deletions.
5 changes: 0 additions & 5 deletions keyboards/preonic/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6

/* 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/preonic/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"],
"rows": ["D2", "D5", "B5", "B6", "D3"]
Expand Down
6 changes: 6 additions & 0 deletions keyboards/preonic/rev2/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"],
"rows": ["D2", "D5", "B5", "B6", "D3"]
Expand Down
6 changes: 6 additions & 0 deletions keyboards/preonic/rev3/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "A7", "B0"],
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"]
Expand Down
6 changes: 6 additions & 0 deletions keyboards/preonic/rev3_drop/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
}
},
"rgblight": {
"led_count": 9,
"animations": {
Expand Down
5 changes: 0 additions & 5 deletions keyboards/primekb/meridian/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13

/* 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/primekb/meridian/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "B0", "A7", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
"rows": ["A6", "A5", "A4", "A3", "A2"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/primekb/meridian/ktr1010/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_T0L 975
#define WS2812_T1L 350
#define WS2812_RES_US 100

/* 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
5 changes: 0 additions & 5 deletions keyboards/primekb/meridian/ws2812/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13

/* 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
23 changes: 0 additions & 23 deletions keyboards/primekb/meridian_rgb/config.h

This file was deleted.

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

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/primekb/prime_m/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B3", "C7", "C6", "D2", "D1", "D0"],
"rows": ["C5", "B5", "B2", "D5", "D3"]
Expand Down
23 changes: 0 additions & 23 deletions keyboards/primekb/prime_o/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/primekb/prime_o/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"],
"rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/primekb/prime_r/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/primekb/prime_r/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "C7", "C6", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["D1", "D0", "B7", "B3", "B2"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/projectcain/relic/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/projectcain/relic/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D3", "D5", "B0", "F0", "F1", "F4", "F5", "F6", "C7", "C6", "B4"],
"rows": ["D7", "B2", "B6", "B5"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/projectcain/vault45/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/projectcain/vault45/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": ["B0", "D5", "D4", "D6", "D7", "B4", "D3", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C6", "B6", "B5", "C7"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/projectd/65/projectd_65_ansi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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

/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14

Expand Down
6 changes: 5 additions & 1 deletion keyboards/projectd/65/projectd_65_ansi/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
},
"processor": "WB32FQ95",
"qmk": {
"tap_keycode_delay": 10
"tap_keycode_delay": 10,
"locking": {
"enabled": true,
"resync": true
}
},
"rgb_matrix": {
"animations": {
Expand Down
5 changes: 0 additions & 5 deletions keyboards/projectd/75/ansi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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

/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14

Expand Down
Loading

0 comments on commit c4e182b

Please sign in to comment.