diff options
| author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2024-05-23 11:55:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 19:55:38 +0100 |
| commit | 013b51a90428342f26d4f0909120c1ae7c2135f8 (patch) | |
| tree | a4bbefa7f77c03d8acc383df353e299719903600 /keyboards/wavtype | |
| parent | c4e182b98e0b072dd97133b71b01f59f0eb07501 (diff) | |
Migrate `LOCKING_*_ENABLE` to Data-Driven: W, Part 1 (#23788)
Affects:
- `waldo`
- `walletburner/cajal`
- `walletburner/neuron`
- `wavtype/foundation`
- `wavtype/p01_ultra`
- `weirdo/geminate60`
- `weirdo/kelowna/rgb64`
- `weirdo/ls_60`
- `weirdo/naiping/np64`
- `weirdo/naiping/nphhkb`
- `weirdo/naiping/npminila`
- `weirdo/tiger910`
- `wekey/polaris`
- `westfoxtrot/aanzee`
- `westfoxtrot/cyclops`
- `westfoxtrot/cypher/rev1`
- `westfoxtrot/cypher/rev5`
- `westfoxtrot/prophet`
- `westm/westm9`
- `westm/westm68`
Diffstat (limited to 'keyboards/wavtype')
| -rw-r--r-- | keyboards/wavtype/foundation/config.h | 25 | ||||
| -rw-r--r-- | keyboards/wavtype/foundation/keyboard.json | 6 | ||||
| -rw-r--r-- | keyboards/wavtype/p01_ultra/config.h | 39 | ||||
| -rw-r--r-- | keyboards/wavtype/p01_ultra/keyboard.json | 6 |
4 files changed, 12 insertions, 64 deletions
diff --git a/keyboards/wavtype/foundation/config.h b/keyboards/wavtype/foundation/config.h deleted file mode 100644 index 4376386c3e..0000000000 --- a/keyboards/wavtype/foundation/config.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | // Copyright 2022 wavtype (@wavtype) | ||
| 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 | ||
| 10 | |||
| 11 | /* | ||
| 12 | * Feature disable options | ||
| 13 | * These options are also useful to firmware size reduction. | ||
| 14 | */ | ||
| 15 | |||
| 16 | /* disable debug print */ | ||
| 17 | //#define NO_DEBUG | ||
| 18 | |||
| 19 | /* disable print */ | ||
| 20 | //#define NO_PRINT | ||
| 21 | |||
| 22 | /* disable action features */ | ||
| 23 | //#define NO_ACTION_LAYER | ||
| 24 | //#define NO_ACTION_TAPPING | ||
| 25 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/wavtype/foundation/keyboard.json b/keyboards/wavtype/foundation/keyboard.json index f13d226806..4b1dd1d348 100644 --- a/keyboards/wavtype/foundation/keyboard.json +++ b/keyboards/wavtype/foundation/keyboard.json | |||
| @@ -38,6 +38,12 @@ | |||
| 38 | "nkro": false, | 38 | "nkro": false, |
| 39 | "rgblight": true | 39 | "rgblight": true |
| 40 | }, | 40 | }, |
| 41 | "qmk": { | ||
| 42 | "locking": { | ||
| 43 | "enabled": true, | ||
| 44 | "resync": true | ||
| 45 | } | ||
| 46 | }, | ||
| 41 | "matrix_pins": { | 47 | "matrix_pins": { |
| 42 | "cols": ["F4", "F5", "F6", "F7", "D2", "D1", "D0", "D3", "D5", "D4", "B7", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], | 48 | "cols": ["F4", "F5", "F6", "F7", "D2", "D1", "D0", "D3", "D5", "D4", "B7", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], |
| 43 | "rows": ["B3", "B2", "B1", "F0", "F1"] | 49 | "rows": ["B3", "B2", "B1", "F0", "F1"] |
diff --git a/keyboards/wavtype/p01_ultra/config.h b/keyboards/wavtype/p01_ultra/config.h deleted file mode 100644 index 3da58bc5d2..0000000000 --- a/keyboards/wavtype/p01_ultra/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 wavtype | ||
| 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/wavtype/p01_ultra/keyboard.json b/keyboards/wavtype/p01_ultra/keyboard.json index 7bfc242468..c44f0bd3bd 100644 --- a/keyboards/wavtype/p01_ultra/keyboard.json +++ b/keyboards/wavtype/p01_ultra/keyboard.json | |||
| @@ -37,6 +37,12 @@ | |||
| 37 | "nkro": false, | 37 | "nkro": false, |
| 38 | "rgblight": true | 38 | "rgblight": true |
| 39 | }, | 39 | }, |
| 40 | "qmk": { | ||
| 41 | "locking": { | ||
| 42 | "enabled": true, | ||
| 43 | "resync": true | ||
| 44 | } | ||
| 45 | }, | ||
| 40 | "matrix_pins": { | 46 | "matrix_pins": { |
| 41 | "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B2", "B1", "B0", "B7", "D0", "D1", "D2", "D3", "D5"], | 47 | "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B2", "B1", "B0", "B7", "D0", "D1", "D2", "D3", "D5"], |
| 42 | "rows": ["B4", "D7", "D6", "B5", "B6", "D4"] | 48 | "rows": ["B4", "D7", "D6", "B5", "B6", "D4"] |
