Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate LOCKING_*_ENABLE to Data-Driven: K, Part 1 #23768

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading