Skip to content

Commit

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

  - `handwired/108key_trackpoint`
  - `handwired/2x5keypad`
  - `handwired/3dp660`
  - `handwired/412_64`
  - `handwired/42`
  - `handwired/amigopunk`
  - `handwired/aranck`
  - `handwired/atreus50`
  - `handwired/axon`
  - `handwired/battleship_gamepad`
  - `handwired/bdn9_ble`
  - `handwired/bento/rev1`
  - `handwired/bolek`
  - `handwired/brain`
  - `handwired/bstk100`
  - `handwired/cans12er`
  - `handwired/chiron`
  - `handwired/ck4x4`
  - `handwired/cmd60`
  - `handwired/co60/rev6`
  - `handwired/co60/rev7`
  - `handwired/colorlice`
  - `handwired/curiosity`
  - `handwired/dactyl_left`
  - `handwired/dactyl_manuform/4x5`
  - `handwired/dactyl_manuform/4x5_5`
  - `handwired/dactyl_manuform/4x6`
  - `handwired/dactyl_manuform/4x6_4_3`
  - `handwired/dactyl_manuform/4x6_5`
  - `handwired/dactyl_manuform/5x6`
  - `handwired/dactyl_manuform/5x6_2_5`
  - `handwired/dactyl_manuform/5x6_5`
  - `handwired/dactyl_manuform/5x6_6`
  - `handwired/dactyl_manuform/5x6_68`
  - `handwired/dactyl_manuform/5x7`
  - `handwired/dactyl_manuform/6x6/blackpill_f411`
  - `handwired/dactyl_manuform/6x6/promicro`
  - `handwired/dactyl_manuform/6x6_4`
  - `handwired/dactyl_manuform/6x7`
  - `handwired/dactyl_promicro`
  - `handwired/dactyl_rah`
  - `handwired/datahand`
  - `handwired/evk/v1_3`
  - `handwired/fc200rt_qmk`
  - `handwired/fivethirteen`
  - `handwired/floorboard`
  - `handwired/fruity60`
  - `handwired/gamenum`
  - `handwired/hacked_motospeed`
  - `handwired/heisenberg`
  - `handwired/hnah40`
  • Loading branch information
noroadsleft authored and AJO-Python committed Jul 7, 2024
1 parent a9e4abc commit f6bbe39
Show file tree
Hide file tree
Showing 88 changed files with 306 additions and 730 deletions.
3 changes: 0 additions & 3 deletions keyboards/handwired/108key_trackpoint/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,3 @@
#define PS2_USART_ERROR (UCSR1A & ((1<<FE1) | (1<<DOR1) | (1<<UPE1)))
#define PS2_USART_RX_VECT USART1_RX_vect
#endif

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
6 changes: 6 additions & 0 deletions keyboards/handwired/108key_trackpoint/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"ps2_mouse": true,
"ps2": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/handwired/2x5keypad/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/2x5keypad/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4"],
"rows": ["B3", "B2"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/handwired/3dp660/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/3dp660/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D2", "D3", "C6", "C7", "D5", "D4", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1"],
"rows": ["B0", "B1", "B2", "B3", "B7"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/handwired/412_64/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/412_64/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": ["B0", "D2", "D0", "D1", "D4", "C6", "D7", "E6"],
"rows": ["D3", "F4", "F5", "F6", "F7", "B1", "B3", "B2"]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/handwired/42/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/42/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"nkro": true,
"bluetooth": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
23 changes: 0 additions & 23 deletions keyboards/handwired/amigopunk/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/amigopunk/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"nkro": true,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B6", "B5", "B4", "B3", "B2", "B1", "B0", "E7", "E6", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"],
"rows": ["C0", "C1", "C2", "C3", "C4", "C5"]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/handwired/aranck/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ along with this program. If not, see <http:https://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


/**
* Aranck-specific definitions
*/
Expand Down
6 changes: 6 additions & 0 deletions keyboards/handwired/aranck/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["C6", "D7", "E6", "B4", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["D3", "D2", "D1", "D0"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/handwired/atreus50/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/atreus50/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D4", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["D3", "D2", "D1", "D0"]
Expand Down
24 changes: 0 additions & 24 deletions keyboards/handwired/axon/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/axon/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": ["B0", "D7", "B1", "B2", "C0", "C1", "C2", "C3", "C4", "C5", "D1"],
"rows": ["D5", "D6", "D4", "D0"]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/handwired/battleship_gamepad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@
/* joystick configuration */
#define JOYSTICK_BUTTON_COUNT 25
#define JOYSTICK_AXIS_RESOLUTION 10

/* 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/handwired/battleship_gamepad/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"nkro": true,
"joystick": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
23 changes: 0 additions & 23 deletions keyboards/handwired/bdn9_ble/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/bdn9_ble/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
"backlight": true,
"bluetooth": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"direct": [
["D1", "D0", "C6"],
Expand Down
22 changes: 0 additions & 22 deletions keyboards/handwired/bento/rev1/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/bento/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
"rgblight": true,
"encoder": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"direct": [
["D7", "B1", "D2"],
Expand Down
5 changes: 0 additions & 5 deletions keyboards/handwired/bolek/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ along with this program. If not, see <http:https://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

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
Loading

0 comments on commit f6bbe39

Please sign in to comment.