Skip to content

Commit

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

  - `kabedon/kabedon98e`
  - `kagizaraya/chidori`
  - `kagizaraya/halberd`
  - `kagizaraya/miniaxe`
  - `kagizaraya/scythe`
  - `kakunpc/angel17/alpha`
  - `kakunpc/angel17/rev1`
  - `kakunpc/angel64/alpha`
  - `kakunpc/angel64/rev1`
  - `kakunpc/business_card/alpha`
  - `kakunpc/business_card/beta`
  - `kakunpc/choc_taro`
  - `kakunpc/rabbit_capture_plan`
  - `kakunpc/suihankey/alpha`
  - `kakunpc/suihankey/rev1`
  - `kakunpc/suihankey/split/alpha`
  - `kakunpc/suihankey/split/rev1`
  - `kakunpc/thedogkeyboard`
  - `kapcave/arya`
  - `kapcave/gskt00`
  - `kapcave/paladin64`
  - `kapl/rev1`
  - `kb58`
  - `kb_elmo/aek2_usb`
  - `kb_elmo/m0110a_usb`
  - `kb_elmo/m0116_usb`
  - `kbdclack/kaishi65`
  - `kbdfans/bella/soldered`
  - `kbdfans/bounce/pad`
  - `kbdfans/jm60`
  - `kbdfans/kbd19x`
  - `kbdfans/kbd4x`
  - `kbdfans/kbd66`
  - `kbdfans/kbd67/hotswap`
  - `kbdfans/kbd67/mkii_soldered`
  - `kbdfans/kbd6x`
  - `kbdfans/kbd75/rev1`
  - `kbdfans/kbd75/rev2`
  - `kbdfans/kbd8x`
  - `kbdfans/kbd8x_mk2`
  - `kbdfans/kbdpad/mk2`
  - `kbdfans/maja_soldered`
  - `kbdfans/niu_mini`
  - `kbdfans/phaseone`
  - `kbdmania/kmac`
  - `kbdmania/kmac_pad`
  - `kc60`
  • Loading branch information
noroadsleft committed May 22, 2024
1 parent efe0d96 commit 7baaac9
Show file tree
Hide file tree
Showing 93 changed files with 281 additions and 1,095 deletions.
5 changes: 0 additions & 5 deletions keyboards/kabedon/kabedon98e/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,3 @@
#define WS2812_PWM_CHANNEL 1
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3
#define WS2812_PWM_DMA_CHANNEL 3

/* 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/kabedon/kabedon98e/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A0", "B7", "B8", "B6", "A3", "A2", "A1", "B9", "A7", "A5", "A6"],
"rows": ["A4", "B10", "B2", "B1", "B0", "B15", "B13", "B14", "B12", "A10", "A9", "A8"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kagizaraya/chidori/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 12
#define MATRIX_COLS 6

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

/* key combination for magic key command */
/* defined by default; to change, uncomment and set to the combination you want */
#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_LCTL)))
Expand Down
6 changes: 6 additions & 0 deletions keyboards/kagizaraya/chidori/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"extrakey": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
38 changes: 0 additions & 38 deletions keyboards/kagizaraya/halberd/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/kagizaraya/halberd/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
"nkro": false,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D7", "B4", "C7", "C6", "B6", "B5", "F7", "F6", "F5", "F4", "F1"],
"rows": ["D6", "D4", "D5", "E6"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kagizaraya/miniaxe/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

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
6 changes: 6 additions & 0 deletions keyboards/kagizaraya/miniaxe/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"direct": [
["F1", "E6", "B0", "B2", "B3"],
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kagizaraya/scythe/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,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

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
6 changes: 6 additions & 0 deletions keyboards/kagizaraya/scythe/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
"backlight": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
39 changes: 0 additions & 39 deletions keyboards/kakunpc/angel17/alpha/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/kakunpc/angel17/alpha/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"console": true,
"command": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [
Expand Down
39 changes: 0 additions & 39 deletions keyboards/kakunpc/angel17/rev1/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/kakunpc/angel17/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"command": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kakunpc/angel64/alpha/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 }

/* 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/kakunpc/angel64/alpha/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"rgblight": true,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kakunpc/angel64/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 }

/* 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/kakunpc/angel64/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"rgblight": true,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
39 changes: 0 additions & 39 deletions keyboards/kakunpc/business_card/alpha/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/kakunpc/business_card/alpha/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
"rgblight": true,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
39 changes: 0 additions & 39 deletions keyboards/kakunpc/business_card/beta/config.h

This file was deleted.

Loading

0 comments on commit 7baaac9

Please sign in to comment.