diff options
| author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2024-05-23 11:49:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 19:49:53 +0100 |
| commit | c4e182b98e0b072dd97133b71b01f59f0eb07501 (patch) | |
| tree | 62ecfd3b31d84ecc5f1ed171d28380b9f8650b2f | |
| parent | bfa05cc5e7a41c0291690516c2954aaefde7d9b9 (diff) | |
Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 2 (#23780)
Affects:
- `preonic/rev1`
- `preonic/rev2`
- `preonic/rev3`
- `preonic/rev3_drop`
- `primekb/meridian/ktr1010`
- `primekb/meridian/ws2812`
- `primekb/meridian_rgb`
- `primekb/prime_m`
- `primekb/prime_o`
- `primekb/prime_r`
- `projectcain/relic`
- `projectcain/vault45`
- `projectd/65/projectd_65_ansi`
- `projectd/75/ansi`
- `projectkb/alice/rev1`
- `projectkb/alice/rev2`
- `projectkb/signature65`
- `projectkb/signature87`
- `prototypist/allison`
- `prototypist/allison_numpad`
- `prototypist/j01`
- `psuieee/pluto12`
- `pteron36`
- `puck`
- `punk75`
47 files changed, 142 insertions, 417 deletions
diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h index 5301e26ab3..c47b9e7ed4 100644 --- a/keyboards/preonic/config.h +++ b/keyboards/preonic/config.h | |||
| @@ -20,11 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define AUDIO_VOICES | 20 | #define AUDIO_VOICES |
| 21 | #define AUDIO_PIN C6 | 21 | #define AUDIO_PIN C6 |
| 22 | 22 | ||
| 23 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 24 | #define LOCKING_SUPPORT_ENABLE | ||
| 25 | /* Locking resynchronize hack */ | ||
| 26 | #define LOCKING_RESYNC_ENABLE | ||
| 27 | |||
| 28 | /* | 23 | /* |
| 29 | * Feature disable options | 24 | * Feature disable options |
| 30 | * These options are also useful to firmware size reduction. | 25 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/preonic/rev1/keyboard.json b/keyboards/preonic/rev1/keyboard.json index aa43fe2c47..648dafe576 100644 --- a/keyboards/preonic/rev1/keyboard.json +++ b/keyboards/preonic/rev1/keyboard.json | |||
| @@ -19,6 +19,12 @@ | |||
| 19 | "mousekey": false, | 19 | "mousekey": false, |
| 20 | "nkro": false | 20 | "nkro": false |
| 21 | }, | 21 | }, |
| 22 | "qmk": { | ||
| 23 | "locking": { | ||
| 24 | "enabled": true, | ||
| 25 | "resync": true | ||
| 26 | } | ||
| 27 | }, | ||
| 22 | "matrix_pins": { | 28 | "matrix_pins": { |
| 23 | "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], | 29 | "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], |
| 24 | "rows": ["D2", "D5", "B5", "B6", "D3"] | 30 | "rows": ["D2", "D5", "B5", "B6", "D3"] |
diff --git a/keyboards/preonic/rev2/keyboard.json b/keyboards/preonic/rev2/keyboard.json index 3a6cab1e17..d24c3db42f 100644 --- a/keyboards/preonic/rev2/keyboard.json +++ b/keyboards/preonic/rev2/keyboard.json | |||
| @@ -19,6 +19,12 @@ | |||
| 19 | "mousekey": false, | 19 | "mousekey": false, |
| 20 | "nkro": false | 20 | "nkro": false |
| 21 | }, | 21 | }, |
| 22 | "qmk": { | ||
| 23 | "locking": { | ||
| 24 | "enabled": true, | ||
| 25 | "resync": true | ||
| 26 | } | ||
| 27 | }, | ||
| 22 | "matrix_pins": { | 28 | "matrix_pins": { |
| 23 | "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], | 29 | "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], |
| 24 | "rows": ["D2", "D5", "B5", "B6", "D3"] | 30 | "rows": ["D2", "D5", "B5", "B6", "D3"] |
diff --git a/keyboards/preonic/rev3/keyboard.json b/keyboards/preonic/rev3/keyboard.json index 472229c0da..96cebf9ea0 100644 --- a/keyboards/preonic/rev3/keyboard.json +++ b/keyboards/preonic/rev3/keyboard.json | |||
| @@ -40,6 +40,12 @@ | |||
| 40 | "nkro": true, | 40 | "nkro": true, |
| 41 | "rgblight": true | 41 | "rgblight": true |
| 42 | }, | 42 | }, |
| 43 | "qmk": { | ||
| 44 | "locking": { | ||
| 45 | "enabled": true, | ||
| 46 | "resync": true | ||
| 47 | } | ||
| 48 | }, | ||
| 43 | "matrix_pins": { | 49 | "matrix_pins": { |
| 44 | "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], | 50 | "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], |
| 45 | "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] | 51 | "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] |
diff --git a/keyboards/preonic/rev3_drop/keyboard.json b/keyboards/preonic/rev3_drop/keyboard.json index f1cf1dfec1..22374fa5f7 100644 --- a/keyboards/preonic/rev3_drop/keyboard.json +++ b/keyboards/preonic/rev3_drop/keyboard.json | |||
| @@ -18,6 +18,12 @@ | |||
| 18 | "nkro": true, | 18 | "nkro": true, |
| 19 | "rgblight": true | 19 | "rgblight": true |
| 20 | }, | 20 | }, |
| 21 | "qmk": { | ||
| 22 | "locking": { | ||
| 23 | "enabled": true, | ||
| 24 | "resync": true | ||
| 25 | } | ||
| 26 | }, | ||
| 21 | "rgblight": { | 27 | "rgblight": { |
| 22 | "led_count": 9, | 28 | "led_count": 9, |
| 23 | "animations": { | 29 | "animations": { |
diff --git a/keyboards/primekb/meridian/config.h b/keyboards/primekb/meridian/config.h index 8593536eec..c6cf02fc4c 100644 --- a/keyboards/primekb/meridian/config.h +++ b/keyboards/primekb/meridian/config.h | |||
| @@ -21,8 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 21 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 22 | #define WS2812_SPI_SCK_PAL_MODE 0 | 22 | #define WS2812_SPI_SCK_PAL_MODE 0 |
| 23 | #define WS2812_SPI_SCK_PIN B13 | 23 | #define WS2812_SPI_SCK_PIN B13 |
| 24 | |||
| 25 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 26 | #define LOCKING_SUPPORT_ENABLE | ||
| 27 | /* Locking resynchronize hack */ | ||
| 28 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/meridian/info.json b/keyboards/primekb/meridian/info.json index 1e62489211..38358a3a7b 100644 --- a/keyboards/primekb/meridian/info.json +++ b/keyboards/primekb/meridian/info.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "nkro": true, | 17 | "nkro": true, |
| 18 | "rgblight": true | 18 | "rgblight": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], | 27 | "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], |
| 22 | "rows": ["A6", "A5", "A4", "A3", "A2"] | 28 | "rows": ["A6", "A5", "A4", "A3", "A2"] |
diff --git a/keyboards/primekb/meridian/ktr1010/config.h b/keyboards/primekb/meridian/ktr1010/config.h index 3da9ff72c4..ba56ce4984 100644 --- a/keyboards/primekb/meridian/ktr1010/config.h +++ b/keyboards/primekb/meridian/ktr1010/config.h | |||
| @@ -24,8 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define WS2812_T0L 975 | 24 | #define WS2812_T0L 975 |
| 25 | #define WS2812_T1L 350 | 25 | #define WS2812_T1L 350 |
| 26 | #define WS2812_RES_US 100 | 26 | #define WS2812_RES_US 100 |
| 27 | |||
| 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 29 | #define LOCKING_SUPPORT_ENABLE | ||
| 30 | /* Locking resynchronize hack */ | ||
| 31 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/meridian/ws2812/config.h b/keyboards/primekb/meridian/ws2812/config.h index 8593536eec..c6cf02fc4c 100644 --- a/keyboards/primekb/meridian/ws2812/config.h +++ b/keyboards/primekb/meridian/ws2812/config.h | |||
| @@ -21,8 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 21 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 22 | #define WS2812_SPI_SCK_PAL_MODE 0 | 22 | #define WS2812_SPI_SCK_PAL_MODE 0 |
| 23 | #define WS2812_SPI_SCK_PIN B13 | 23 | #define WS2812_SPI_SCK_PIN B13 |
| 24 | |||
| 25 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 26 | #define LOCKING_SUPPORT_ENABLE | ||
| 27 | /* Locking resynchronize hack */ | ||
| 28 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/meridian_rgb/config.h b/keyboards/primekb/meridian_rgb/config.h deleted file mode 100644 index 6685719914..0000000000 --- a/keyboards/primekb/meridian_rgb/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2022 Holten Campbell | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/meridian_rgb/keyboard.json b/keyboards/primekb/meridian_rgb/keyboard.json index 49491b769a..145d4eeb8b 100644 --- a/keyboards/primekb/meridian_rgb/keyboard.json +++ b/keyboards/primekb/meridian_rgb/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "nkro": true, | 17 | "nkro": true, |
| 18 | "rgblight": true | 18 | "rgblight": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["C7", "C6", "B6", "B5", "B4", "F7", "D4", "B7", "B3", "D5", "D3", "D2", "D1", "D0"], | 27 | "cols": ["C7", "C6", "B6", "B5", "B4", "F7", "D4", "B7", "B3", "D5", "D3", "D2", "D1", "D0"], |
| 22 | "rows": ["E6", "F0", "F6", "D7", "D6"] | 28 | "rows": ["E6", "F0", "F6", "D7", "D6"] |
diff --git a/keyboards/primekb/prime_m/config.h b/keyboards/primekb/prime_m/config.h deleted file mode 100644 index 053bc6236a..0000000000 --- a/keyboards/primekb/prime_m/config.h +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2018 Jumail Mundekkat | ||
| 3 | Copyright 2020 Holten Campbell | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 22 | #define LOCKING_SUPPORT_ENABLE | ||
| 23 | /* Locking resynchronize hack */ | ||
| 24 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/prime_m/keyboard.json b/keyboards/primekb/prime_m/keyboard.json index b63b96bf70..eb06dcdb7e 100644 --- a/keyboards/primekb/prime_m/keyboard.json +++ b/keyboards/primekb/prime_m/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": true | 18 | "nkro": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["B3", "C7", "C6", "D2", "D1", "D0"], | 27 | "cols": ["B3", "C7", "C6", "D2", "D1", "D0"], |
| 22 | "rows": ["C5", "B5", "B2", "D5", "D3"] | 28 | "rows": ["C5", "B5", "B2", "D5", "D3"] |
diff --git a/keyboards/primekb/prime_o/config.h b/keyboards/primekb/prime_o/config.h deleted file mode 100644 index 9c9e5754a9..0000000000 --- a/keyboards/primekb/prime_o/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2018 Jumail Mundekkat | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/prime_o/keyboard.json b/keyboards/primekb/prime_o/keyboard.json index f3b427e148..04da8ab134 100644 --- a/keyboards/primekb/prime_o/keyboard.json +++ b/keyboards/primekb/prime_o/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": true | 18 | "nkro": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"], | 27 | "cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"], |
| 22 | "rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"] | 28 | "rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"] |
diff --git a/keyboards/primekb/prime_r/config.h b/keyboards/primekb/prime_r/config.h deleted file mode 100644 index 2baa495f2c..0000000000 --- a/keyboards/primekb/prime_r/config.h +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2018 Andrew Heaston | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | |||
| 23 | /* Locking resynchronize hack */ | ||
| 24 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/primekb/prime_r/keyboard.json b/keyboards/primekb/prime_r/keyboard.json index a45db2351a..b2a7ecec7a 100644 --- a/keyboards/primekb/prime_r/keyboard.json +++ b/keyboards/primekb/prime_r/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": true | 18 | "nkro": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "C7", "C6", "F7", "F6", "F5", "F4", "F1", "F0"], | 27 | "cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "C7", "C6", "F7", "F6", "F5", "F4", "F1", "F0"], |
| 22 | "rows": ["D1", "D0", "B7", "B3", "B2"] | 28 | "rows": ["D1", "D0", "B7", "B3", "B2"] |
diff --git a/keyboards/projectcain/relic/config.h b/keyboards/projectcain/relic/config.h deleted file mode 100644 index 199375c173..0000000000 --- a/keyboards/projectcain/relic/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 projectcain | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
| 24 | |||
| 25 | /* | ||
| 26 | * Feature disable options | ||
| 27 | * These options are also useful to firmware size reduction. | ||
| 28 | */ | ||
| 29 | |||
| 30 | /* disable debug print */ | ||
| 31 | //#define NO_DEBUG | ||
| 32 | |||
| 33 | /* disable print */ | ||
| 34 | //#define NO_PRINT | ||
| 35 | |||
| 36 | /* disable action features */ | ||
| 37 | //#define NO_ACTION_LAYER | ||
| 38 | //#define NO_ACTION_TAPPING | ||
| 39 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/projectcain/relic/keyboard.json b/keyboards/projectcain/relic/keyboard.json index 9ebfbf72d4..f9df6770d1 100644 --- a/keyboards/projectcain/relic/keyboard.json +++ b/keyboards/projectcain/relic/keyboard.json | |||
| @@ -16,6 +16,12 @@ | |||
| 16 | "mousekey": false, | 16 | "mousekey": false, |
| 17 | "nkro": false | 17 | "nkro": false |
| 18 | }, | 18 | }, |
| 19 | "qmk": { | ||
| 20 | "locking": { | ||
| 21 | "enabled": true, | ||
| 22 | "resync": true | ||
| 23 | } | ||
| 24 | }, | ||
| 19 | "matrix_pins": { | 25 | "matrix_pins": { |
| 20 | "cols": ["D3", "D5", "B0", "F0", "F1", "F4", "F5", "F6", "C7", "C6", "B4"], | 26 | "cols": ["D3", "D5", "B0", "F0", "F1", "F4", "F5", "F6", "C7", "C6", "B4"], |
| 21 | "rows": ["D7", "B2", "B6", "B5"] | 27 | "rows": ["D7", "B2", "B6", "B5"] |
diff --git a/keyboards/projectcain/vault45/config.h b/keyboards/projectcain/vault45/config.h deleted file mode 100644 index 199375c173..0000000000 --- a/keyboards/projectcain/vault45/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 projectcain | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
| 24 | |||
| 25 | /* | ||
| 26 | * Feature disable options | ||
| 27 | * These options are also useful to firmware size reduction. | ||
| 28 | */ | ||
| 29 | |||
| 30 | /* disable debug print */ | ||
| 31 | //#define NO_DEBUG | ||
| 32 | |||
| 33 | /* disable print */ | ||
| 34 | //#define NO_PRINT | ||
| 35 | |||
| 36 | /* disable action features */ | ||
| 37 | //#define NO_ACTION_LAYER | ||
| 38 | //#define NO_ACTION_TAPPING | ||
| 39 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/projectcain/vault45/keyboard.json b/keyboards/projectcain/vault45/keyboard.json index d09c8be764..2ab3e010e7 100644 --- a/keyboards/projectcain/vault45/keyboard.json +++ b/keyboards/projectcain/vault45/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": false | 18 | "nkro": false |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["B0", "D5", "D4", "D6", "D7", "B4", "D3", "F0", "F1", "F4", "F5", "F6", "F7"], | 27 | "cols": ["B0", "D5", "D4", "D6", "D7", "B4", "D3", "F0", "F1", "F4", "F5", "F6", "F7"], |
| 22 | "rows": ["C6", "B6", "B5", "C7"] | 28 | "rows": ["C6", "B6", "B5", "C7"] |
diff --git a/keyboards/projectd/65/projectd_65_ansi/config.h b/keyboards/projectd/65/projectd_65_ansi/config.h index d7f9a52afe..c8da5c42a7 100644 --- a/keyboards/projectd/65/projectd_65_ansi/config.h +++ b/keyboards/projectd/65/projectd_65_ansi/config.h | |||
| @@ -16,11 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 20 | #define LOCKING_SUPPORT_ENABLE | ||
| 21 | /* Locking resynchronize hack */ | ||
| 22 | #define LOCKING_RESYNC_ENABLE | ||
| 23 | |||
| 24 | /* External spi flash */ | 19 | /* External spi flash */ |
| 25 | #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14 | 20 | #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14 |
| 26 | 21 | ||
diff --git a/keyboards/projectd/65/projectd_65_ansi/keyboard.json b/keyboards/projectd/65/projectd_65_ansi/keyboard.json index 9cfe8ffb5d..5d75389e2a 100644 --- a/keyboards/projectd/65/projectd_65_ansi/keyboard.json +++ b/keyboards/projectd/65/projectd_65_ansi/keyboard.json | |||
| @@ -32,7 +32,11 @@ | |||
| 32 | }, | 32 | }, |
| 33 | "processor": "WB32FQ95", | 33 | "processor": "WB32FQ95", |
| 34 | "qmk": { | 34 | "qmk": { |
| 35 | "tap_keycode_delay": 10 | 35 | "tap_keycode_delay": 10, |
| 36 | "locking": { | ||
| 37 | "enabled": true, | ||
| 38 | "resync": true | ||
| 39 | } | ||
| 36 | }, | 40 | }, |
| 37 | "rgb_matrix": { | 41 | "rgb_matrix": { |
| 38 | "animations": { | 42 | "animations": { |
diff --git a/keyboards/projectd/75/ansi/config.h b/keyboards/projectd/75/ansi/config.h index a42dd6c1ee..282e20a8e2 100644 --- a/keyboards/projectd/75/ansi/config.h +++ b/keyboards/projectd/75/ansi/config.h | |||
| @@ -16,11 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 20 | #define LOCKING_SUPPORT_ENABLE | ||
| 21 | /* Locking resynchronize hack */ | ||
| 22 | #define LOCKING_RESYNC_ENABLE | ||
| 23 | |||
| 24 | /* External spi flash */ | 19 | /* External spi flash */ |
| 25 | #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14 | 20 | #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14 |
| 26 | 21 | ||
diff --git a/keyboards/projectd/75/ansi/keyboard.json b/keyboards/projectd/75/ansi/keyboard.json index 2e57c35328..2296c63937 100644 --- a/keyboards/projectd/75/ansi/keyboard.json +++ b/keyboards/projectd/75/ansi/keyboard.json | |||
| @@ -32,7 +32,11 @@ | |||
| 32 | }, | 32 | }, |
| 33 | "processor": "WB32FQ95", | 33 | "processor": "WB32FQ95", |
| 34 | "qmk": { | 34 | "qmk": { |
| 35 | "tap_keycode_delay": 10 | 35 | "tap_keycode_delay": 10, |
| 36 | "locking": { | ||
| 37 | "enabled": true, | ||
| 38 | "resync": true | ||
| 39 | } | ||
| 36 | }, | 40 | }, |
| 37 | "rgb_matrix": { | 41 | "rgb_matrix": { |
| 38 | "animations": { | 42 | "animations": { |
diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h index 829976ebd6..66d3b75731 100644 --- a/keyboards/projectkb/alice/rev1/config.h +++ b/keyboards/projectkb/alice/rev1/config.h | |||
| @@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 22 | #define BACKLIGHT_PAL_MODE 1 | 22 | #define BACKLIGHT_PAL_MODE 1 |
| 23 | 23 | ||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 25 | #define LOCKING_SUPPORT_ENABLE | ||
| 26 | /* Locking resynchronize hack */ | ||
| 27 | #define LOCKING_RESYNC_ENABLE | ||
| 28 | |||
| 29 | #define WS2812_SPI_DRIVER SPID2 | 24 | #define WS2812_SPI_DRIVER SPID2 |
| 30 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 25 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 31 | #define WS2812_SPI_SCK_PAL_MODE 0 | 26 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/projectkb/alice/rev1/keyboard.json b/keyboards/projectkb/alice/rev1/keyboard.json index 1e97746ee8..7e957d7ff4 100644 --- a/keyboards/projectkb/alice/rev1/keyboard.json +++ b/keyboards/projectkb/alice/rev1/keyboard.json | |||
| @@ -9,6 +9,12 @@ | |||
| 9 | "nkro": true, | 9 | "nkro": true, |
| 10 | "rgblight": true | 10 | "rgblight": true |
| 11 | }, | 11 | }, |
| 12 | "qmk": { | ||
| 13 | "locking": { | ||
| 14 | "enabled": true, | ||
| 15 | "resync": true | ||
| 16 | } | ||
| 17 | }, | ||
| 12 | "rgblight": { | 18 | "rgblight": { |
| 13 | "led_count": 14, | 19 | "led_count": 14, |
| 14 | "animations": { | 20 | "animations": { |
diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h index 6e250bb14e..3e786c1805 100644 --- a/keyboards/projectkb/alice/rev2/config.h +++ b/keyboards/projectkb/alice/rev2/config.h | |||
| @@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 22 | #define BACKLIGHT_PAL_MODE 1 | 22 | #define BACKLIGHT_PAL_MODE 1 |
| 23 | 23 | ||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 25 | #define LOCKING_SUPPORT_ENABLE | ||
| 26 | /* Locking resynchronize hack */ | ||
| 27 | #define LOCKING_RESYNC_ENABLE | ||
| 28 | |||
| 29 | #define WS2812_SPI_DRIVER SPID2 | 24 | #define WS2812_SPI_DRIVER SPID2 |
| 30 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 25 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 31 | #define WS2812_SPI_SCK_PAL_MODE 0 | 26 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/projectkb/alice/rev2/keyboard.json b/keyboards/projectkb/alice/rev2/keyboard.json index 0ed3b88ea2..639fc26877 100644 --- a/keyboards/projectkb/alice/rev2/keyboard.json +++ b/keyboards/projectkb/alice/rev2/keyboard.json | |||
| @@ -9,6 +9,12 @@ | |||
| 9 | "nkro": true, | 9 | "nkro": true, |
| 10 | "rgblight": true | 10 | "rgblight": true |
| 11 | }, | 11 | }, |
| 12 | "qmk": { | ||
| 13 | "locking": { | ||
| 14 | "enabled": true, | ||
| 15 | "resync": true | ||
| 16 | } | ||
| 17 | }, | ||
| 12 | "rgblight": { | 18 | "rgblight": { |
| 13 | "led_count": 14, | 19 | "led_count": 14, |
| 14 | "animations": { | 20 | "animations": { |
diff --git a/keyboards/projectkb/signature65/config.h b/keyboards/projectkb/signature65/config.h deleted file mode 100644 index 4d31d4b095..0000000000 --- a/keyboards/projectkb/signature65/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 MechMerlin | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/projectkb/signature65/keyboard.json b/keyboards/projectkb/signature65/keyboard.json index 7f865fbaaf..b72ff9926c 100644 --- a/keyboards/projectkb/signature65/keyboard.json +++ b/keyboards/projectkb/signature65/keyboard.json | |||
| @@ -16,6 +16,12 @@ | |||
| 16 | "mousekey": true, | 16 | "mousekey": true, |
| 17 | "nkro": true | 17 | "nkro": true |
| 18 | }, | 18 | }, |
| 19 | "qmk": { | ||
| 20 | "locking": { | ||
| 21 | "enabled": true, | ||
| 22 | "resync": true | ||
| 23 | } | ||
| 24 | }, | ||
| 19 | "matrix_pins": { | 25 | "matrix_pins": { |
| 20 | "cols": ["B14", "A2", "B9", "B8", "B5", "B4", "B3", "A15", "B11", "B10", "B2", "A3", "B1", "B0", "A4", "A5"], | 26 | "cols": ["B14", "A2", "B9", "B8", "B5", "B4", "B3", "A15", "B11", "B10", "B2", "A3", "B1", "B0", "A4", "A5"], |
| 21 | "rows": ["A8", "A9", "B13", "A6", "A7"] | 27 | "rows": ["A8", "A9", "B13", "A6", "A7"] |
diff --git a/keyboards/projectkb/signature87/config.h b/keyboards/projectkb/signature87/config.h deleted file mode 100644 index 4d31d4b095..0000000000 --- a/keyboards/projectkb/signature87/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 MechMerlin | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/projectkb/signature87/keyboard.json b/keyboards/projectkb/signature87/keyboard.json index 2f8666aeb9..2b18bf4572 100644 --- a/keyboards/projectkb/signature87/keyboard.json +++ b/keyboards/projectkb/signature87/keyboard.json | |||
| @@ -16,6 +16,12 @@ | |||
| 16 | "mousekey": true, | 16 | "mousekey": true, |
| 17 | "nkro": true | 17 | "nkro": true |
| 18 | }, | 18 | }, |
| 19 | "qmk": { | ||
| 20 | "locking": { | ||
| 21 | "enabled": true, | ||
| 22 | "resync": true | ||
| 23 | } | ||
| 24 | }, | ||
| 19 | "matrix_pins": { | 25 | "matrix_pins": { |
| 20 | "cols": ["A7", "A6", "A5", "A4", "A3", "A2", "A15", "B3", "B4"], | 26 | "cols": ["A7", "A6", "A5", "A4", "A3", "A2", "A15", "B3", "B4"], |
| 21 | "rows": ["B13", "B12", "A8", "B15", "A10", "A9", "B9", "B8", "B1", "B0", "B10", "B2"] | 27 | "rows": ["B13", "B12", "A8", "B15", "A10", "A9", "B9", "B8", "B1", "B0", "B10", "B2"] |
diff --git a/keyboards/prototypist/allison/config.h b/keyboards/prototypist/allison/config.h deleted file mode 100644 index 9765ad6b1a..0000000000 --- a/keyboards/prototypist/allison/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Yiancar | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
| 24 | |||
| 25 | /* | ||
| 26 | * Feature disable options | ||
| 27 | * These options are also useful to firmware size reduction. | ||
| 28 | */ | ||
| 29 | |||
| 30 | /* disable debug print */ | ||
| 31 | //#define NO_DEBUG | ||
| 32 | |||
| 33 | /* disable print */ | ||
| 34 | //#define NO_PRINT | ||
| 35 | |||
| 36 | /* disable action features */ | ||
| 37 | //#define NO_ACTION_LAYER | ||
| 38 | //#define NO_ACTION_TAPPING | ||
| 39 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/prototypist/allison/keyboard.json b/keyboards/prototypist/allison/keyboard.json index 0261b204bb..ea80e853bf 100644 --- a/keyboards/prototypist/allison/keyboard.json +++ b/keyboards/prototypist/allison/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": true | 18 | "nkro": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F1", "F0"], | 27 | "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F1", "F0"], |
| 22 | "rows": ["D2", "D1", "D0", "B1", "B2", "D3"] | 28 | "rows": ["D2", "D1", "D0", "B1", "B2", "D3"] |
diff --git a/keyboards/prototypist/allison_numpad/config.h b/keyboards/prototypist/allison_numpad/config.h deleted file mode 100644 index 9765ad6b1a..0000000000 --- a/keyboards/prototypist/allison_numpad/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Yiancar | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
| 24 | |||
| 25 | /* | ||
| 26 | * Feature disable options | ||
| 27 | * These options are also useful to firmware size reduction. | ||
| 28 | */ | ||
| 29 | |||
| 30 | /* disable debug print */ | ||
| 31 | //#define NO_DEBUG | ||
| 32 | |||
| 33 | /* disable print */ | ||
| 34 | //#define NO_PRINT | ||
| 35 | |||
| 36 | /* disable action features */ | ||
| 37 | //#define NO_ACTION_LAYER | ||
| 38 | //#define NO_ACTION_TAPPING | ||
| 39 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/prototypist/allison_numpad/keyboard.json b/keyboards/prototypist/allison_numpad/keyboard.json index 974573fc64..a995cd6bbf 100644 --- a/keyboards/prototypist/allison_numpad/keyboard.json +++ b/keyboards/prototypist/allison_numpad/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": true | 18 | "nkro": true |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["F6", "F5", "F1", "F0"], | 27 | "cols": ["F6", "F5", "F1", "F0"], |
| 22 | "rows": ["F4", "C7", "C6", "B6", "B5", "B4"] | 28 | "rows": ["F4", "C7", "C6", "B6", "B5", "B4"] |
diff --git a/keyboards/prototypist/j01/config.h b/keyboards/prototypist/j01/config.h deleted file mode 100644 index 1d22c074e2..0000000000 --- a/keyboards/prototypist/j01/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* Copyright 2020 Shaun Mitchell (Flex) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 20 | #define LOCKING_SUPPORT_ENABLE | ||
| 21 | /* Locking resynchronize hack */ | ||
| 22 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/prototypist/j01/keyboard.json b/keyboards/prototypist/j01/keyboard.json index d6e24dc9e5..68296e1b77 100644 --- a/keyboards/prototypist/j01/keyboard.json +++ b/keyboards/prototypist/j01/keyboard.json | |||
| @@ -20,6 +20,12 @@ | |||
| 20 | "mousekey": true, | 20 | "mousekey": true, |
| 21 | "nkro": true | 21 | "nkro": true |
| 22 | }, | 22 | }, |
| 23 | "qmk": { | ||
| 24 | "locking": { | ||
| 25 | "enabled": true, | ||
| 26 | "resync": true | ||
| 27 | } | ||
| 28 | }, | ||
| 23 | "matrix_pins": { | 29 | "matrix_pins": { |
| 24 | "cols": ["B1", "F0", "F7", "F1", "F4", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], | 30 | "cols": ["B1", "F0", "F7", "F1", "F4", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], |
| 25 | "rows": ["B3", "B2", "B0", "F6", "F5"] | 31 | "rows": ["B3", "B2", "B0", "F6", "F5"] |
diff --git a/keyboards/psuieee/pluto12/config.h b/keyboards/psuieee/pluto12/config.h deleted file mode 100644 index cabf72507f..0000000000 --- a/keyboards/psuieee/pluto12/config.h +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | // Copyright 2021-22 Willem McGloughlin (wymcg) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 7 | #define LOCKING_SUPPORT_ENABLE | ||
| 8 | /* Locking resynchronize hack */ | ||
| 9 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/psuieee/pluto12/keyboard.json b/keyboards/psuieee/pluto12/keyboard.json index 6dcb3d33ac..382d9fe030 100644 --- a/keyboards/psuieee/pluto12/keyboard.json +++ b/keyboards/psuieee/pluto12/keyboard.json | |||
| @@ -17,6 +17,12 @@ | |||
| 17 | "mousekey": true, | 17 | "mousekey": true, |
| 18 | "nkro": false | 18 | "nkro": false |
| 19 | }, | 19 | }, |
| 20 | "qmk": { | ||
| 21 | "locking": { | ||
| 22 | "enabled": true, | ||
| 23 | "resync": true | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["D7", "E6", "B4", "B5"], | 27 | "cols": ["D7", "E6", "B4", "B5"], |
| 22 | "rows": ["D0", "D4", "C6"] | 28 | "rows": ["D0", "D4", "C6"] |
diff --git a/keyboards/pteron36/config.h b/keyboards/pteron36/config.h deleted file mode 100644 index 72b4ea84e7..0000000000 --- a/keyboards/pteron36/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Harshit Goel | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 21 | #define LOCKING_SUPPORT_ENABLE | ||
| 22 | /* Locking resynchronize hack */ | ||
| 23 | #define LOCKING_RESYNC_ENABLE | ||
| 24 | |||
| 25 | /* | ||
| 26 | * Feature disable options | ||
| 27 | * These options are also useful to firmware size reduction. | ||
| 28 | */ | ||
| 29 | |||
| 30 | /* disable debug print */ | ||
| 31 | //#define NO_DEBUG | ||
| 32 | |||
| 33 | /* disable print */ | ||
| 34 | //#define NO_PRINT | ||
| 35 | |||
| 36 | /* disable action features */ | ||
| 37 | //#define NO_ACTION_LAYER | ||
| 38 | //#define NO_ACTION_TAPPING | ||
| 39 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/pteron36/keyboard.json b/keyboards/pteron36/keyboard.json index f4bab52419..abd94d599a 100644 --- a/keyboards/pteron36/keyboard.json +++ b/keyboards/pteron36/keyboard.json | |||
| @@ -19,6 +19,12 @@ | |||
| 19 | "oled": true, | 19 | "oled": true, |
| 20 | "rgblight": true | 20 | "rgblight": true |
| 21 | }, | 21 | }, |
| 22 | "qmk": { | ||
| 23 | "locking": { | ||
| 24 | "enabled": true, | ||
| 25 | "resync": true | ||
| 26 | } | ||
| 27 | }, | ||
| 22 | "matrix_pins": { | 28 | "matrix_pins": { |
| 23 | "cols": ["F6", "F7", "B1", "B3", "B2"], | 29 | "cols": ["F6", "F7", "B1", "B3", "B2"], |
| 24 | "rows": ["E6", "D7", "B4", "B5"] | 30 | "rows": ["E6", "D7", "B4", "B5"] |
diff --git a/keyboards/puck/config.h b/keyboards/puck/config.h deleted file mode 100644 index 2f38776326..0000000000 --- a/keyboards/puck/config.h +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | /* Locking resynchronize hack */ | ||
| 4 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/puck/keyboard.json b/keyboards/puck/keyboard.json index 1ee73dc437..4ec04d72be 100644 --- a/keyboards/puck/keyboard.json +++ b/keyboards/puck/keyboard.json | |||
| @@ -16,6 +16,12 @@ | |||
| 16 | "mousekey": false, | 16 | "mousekey": false, |
| 17 | "nkro": false | 17 | "nkro": false |
| 18 | }, | 18 | }, |
| 19 | "qmk": { | ||
| 20 | "locking": { | ||
| 21 | "enabled": false, | ||
| 22 | "resync": true | ||
| 23 | } | ||
| 24 | }, | ||
| 19 | "matrix_pins": { | 25 | "matrix_pins": { |
| 20 | "cols": ["B4", "D7", "D6"], | 26 | "cols": ["B4", "D7", "D6"], |
| 21 | "rows": ["D2", "D3", "C6", "C7"] | 27 | "rows": ["D2", "D3", "C6", "C7"] |
diff --git a/keyboards/punk75/config.h b/keyboards/punk75/config.h index b314f6dae9..321865330c 100644 --- a/keyboards/punk75/config.h +++ b/keyboards/punk75/config.h | |||
| @@ -18,8 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define LED A0 | 20 | #define LED A0 |
| 21 | |||
| 22 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 23 | #define LOCKING_SUPPORT_ENABLE | ||
| 24 | /* Locking resynchronize hack */ | ||
| 25 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/punk75/keyboard.json b/keyboards/punk75/keyboard.json index 5c1bd94a5e..dd084a147c 100644 --- a/keyboards/punk75/keyboard.json +++ b/keyboards/punk75/keyboard.json | |||
| @@ -15,6 +15,12 @@ | |||
| 15 | "mousekey": false, | 15 | "mousekey": false, |
| 16 | "nkro": false | 16 | "nkro": false |
| 17 | }, | 17 | }, |
| 18 | "qmk": { | ||
| 19 | "locking": { | ||
| 20 | "enabled": true, | ||
| 21 | "resync": true | ||
| 22 | } | ||
| 23 | }, | ||
| 18 | "matrix_pins": { | 24 | "matrix_pins": { |
| 19 | "cols": ["C2", "C3", "C6", "C5", "C4", "A7", "A6", "A5", "A4", "B4", "A3", "B3", "A2", "B2", "A1"], | 25 | "cols": ["C2", "C3", "C6", "C5", "C4", "A7", "A6", "A5", "A4", "B4", "A3", "B3", "A2", "B2", "A1"], |
| 20 | "rows": ["D6", "D5", "C1", "C0", "D7"] | 26 | "rows": ["D6", "D5", "C1", "C0", "D7"] |
