Skip to content

Commit

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

  - `uk78`
  - `ungodly/nines`
  - `unikeyboard/diverge3`
  - `unikeyboard/divergetm2`
  - `unikeyboard/felix`
  - `uranuma`
  - `utd80`
  - `v60_type_r`
  - `vagrant_10`
  - `viendi8l`
  - `viktus/at101_bh`
  - `viktus/omnikey_bh`
  - `viktus/smolka`
  - `viktus/sp111`
  - `viktus/styrka`
  - `viktus/z150_bh`
  - `vitamins_included/rev1`
  • Loading branch information
noroadsleft authored and nuess0r committed Sep 8, 2024
1 parent 50b53c0 commit a7a2a48
Show file tree
Hide file tree
Showing 34 changed files with 102 additions and 290 deletions.
24 changes: 0 additions & 24 deletions keyboards/uk78/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/uk78/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
}
},
"matrix_pins": {
"cols": ["A2", "A1", "F5", "F4", "E6", "E7", "E5", "E4", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "E0"],
"rows": ["F3", "F2", "F1", "F0", "A0"]
Expand Down
21 changes: 0 additions & 21 deletions keyboards/ungodly/nines/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/ungodly/nines/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"direct": [
["F4", "F5", "F6"],
Expand Down
5 changes: 0 additions & 5 deletions keyboards/unikeyboard/diverge3/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 SELECT_SOFT_SERIAL_SPEED 3
#endif

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

/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
*/
Expand Down
6 changes: 6 additions & 0 deletions keyboards/unikeyboard/diverge3/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": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "D7", "E6", "B4", "B5"]
Expand Down
23 changes: 0 additions & 23 deletions keyboards/unikeyboard/divergetm2/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/unikeyboard/divergetm2/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": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D7", "E6", "B4", "B5"]
Expand Down
22 changes: 0 additions & 22 deletions keyboards/unikeyboard/felix/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/unikeyboard/felix/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": ["B5", "B4", "E6", "D7"],
"rows": ["B2", "B3", "B1", "F7", "F6"]
Expand Down
22 changes: 0 additions & 22 deletions keyboards/uranuma/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/uranuma/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": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"],
"rows": ["C6", "D7", "E6", "B4", "B5"]
Expand Down
22 changes: 0 additions & 22 deletions keyboards/utd80/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/utd80/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
}
},
"matrix_pins": {
"cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "D3", "E6", "D7", "D6", "D4", "D2", "D1"],
"rows": ["B4", "D5", "D0", "B2", "B3", "B0"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/v60_type_r/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_GREEN_PIN F5
#define RGB_BLUE_PIN F4

/* 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/v60_type_r/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"],
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"]
Expand Down
32 changes: 0 additions & 32 deletions keyboards/vagrant_10/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/vagrant_10/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": ["F4", "F6", "F5"],
"rows": ["F7", "B1", "B3", "B2"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/viendi8l/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

#define I2C_DRIVER I2CD1
#define I2C_SCL_PIN B6
#define I2C_SDA_PIN B7
Expand Down
6 changes: 6 additions & 0 deletions keyboards/viendi8l/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"nkro": false,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["C6", "C7", "C8", "C9", "A8", "B3", "B4", "A10", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1", "A2", "A3"],
"rows": ["C3", "C2", "C1", "C0", "B14", "A7"]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/viktus/at101_bh/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/viktus/at101_bh/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": ["D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "D2", "D3"],
"rows": ["F0", "F1", "F4", "D4", "F6", "F5", "F7", "B6", "B5", "D5", "C7", "C6"]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/viktus/omnikey_bh/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/viktus/omnikey_bh/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": ["C2", "C3", "C4", "C7", "C1", "C0", "E1", "E0", "D7", "F7", "F6", "F5", "F4", "F3", "F2", "F1", "F0", "E6", "E7", "B0", "B1", "B2", "B3"],
"rows": ["B7", "D0", "D1", "D2", "D3", "D4"]
Expand Down
Loading

0 comments on commit a7a2a48

Please sign in to comment.