Skip to content

Commit

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

  - `handwired/reclined`
  - `handwired/retro_refit`
  - `handwired/selene`
  - `handwired/sick68`
  - `handwired/sick_pad`
  - `handwired/skakunm_dactyl`
  - `handwired/slash`
  - `handwired/snatchpad`
  - `handwired/sono1`
  - `handwired/space_oddity`
  - `handwired/split89`
  - `handwired/split_cloud`
  - `handwired/steamvan/rev1`
  - `handwired/sticc14`
  - `handwired/stream_cheap/2x3`
  - `handwired/stream_cheap/2x4`
  - `handwired/stream_cheap/2x5`
  - `handwired/symmetric70_proto/promicro`
  - `handwired/symmetric70_proto/proton_c`
  - `handwired/symmetry60`
  - `handwired/tennie`
  - `handwired/terminus_mini`
  - `handwired/trackpoint`
  - `handwired/tritium_numpad`
  - `handwired/twadlee/tp69`
  - `handwired/unk/rev1`
  - `handwired/uthol/rev3`
  - `handwired/videowriter`
  - `handwired/wabi`
  - `handwired/woodpad`
  • Loading branch information
noroadsleft authored and whoisjordangarcia committed Jun 8, 2024
1 parent 655393e commit a3fc57e
Show file tree
Hide file tree
Showing 60 changed files with 180 additions and 569 deletions.
42 changes: 0 additions & 42 deletions keyboards/handwired/reclined/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/reclined/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"extrakey": true,
"mousekey": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B2", "F4", "B3", "F5", "B1", "F6", "D4", "D7", "D0", "E6", "D1", "B4"],
"rows": ["D3", "C6", "B6", "B5"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/handwired/retro_refit/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://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

/* remap magic keys */
#define MAGIC_KEY_LOCK BSLS

Expand Down
6 changes: 6 additions & 0 deletions keyboards/handwired/retro_refit/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": ["B0", "B1", "B2", "B3", "D2", "D3", "C7", "D5"],
"rows": ["D4", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0"]
Expand Down
20 changes: 0 additions & 20 deletions keyboards/handwired/selene/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/selene/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A9", "A10", "B11", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "C14", "A4", "A5", "A6", "A7", "A8", "A15", "A13", "A14", "B12"],
"rows": ["B10", "B9", "B15", "B14", "B13", "B8"]
Expand Down
39 changes: 0 additions & 39 deletions keyboards/handwired/sick68/config.h

This file was deleted.

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

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/sick_pad/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": ["B9", "B15", "B14", "B13"],
"rows": ["B0", "B1", "B2", "B3", "B4"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/handwired/skakunm_dactyl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
#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

/* Enables This makes it easier for fast typists to use dual-function keys */
#define PERMISSIVE_HOLD

Expand Down
6 changes: 6 additions & 0 deletions keyboards/handwired/skakunm_dactyl/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": ["C6", "D7", "E6", "B4", "B5"],
"rows": ["B1", "B3", "B2", "B6"]
Expand Down
23 changes: 0 additions & 23 deletions keyboards/handwired/slash/config.h

This file was deleted.

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

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/snatchpad/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B1", "B3", "B2"],
"rows": ["F4", "F5", "F6"]
Expand Down
22 changes: 0 additions & 22 deletions keyboards/handwired/sono1/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/handwired/sono1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"usb": {
"vid": "0x515A",
"pid": "0x5331"
Expand Down
6 changes: 0 additions & 6 deletions keyboards/handwired/space_oddity/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,3 @@
#define MOUSEKEY_TIME_TO_MAX 60
#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
6 changes: 6 additions & 0 deletions keyboards/handwired/space_oddity/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": ["B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"],
"rows": ["F4", "F5", "F6", "F7", "B1", "B3"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/handwired/split89/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* this will be tied to high (VCC with a 2k to 10k resistor) on the left keyboard half and tied to low (GND using a wire jumper only) on the right keyboard half. This allows a user to plug in a USB cable to either side and function correctly with or without a TRS/TRRS cable with a single hex file. */
#define SPLIT_HAND_PIN D1

/* 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/handwired/split89/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": ["F5", "F4", "B5", "B4", "E6", "D7", "C6", "D4", "D2", "D3"],
"rows": ["F6", "F7", "B1", "B3", "B2", "B6"]
Expand Down
Loading

0 comments on commit a3fc57e

Please sign in to comment.