diff options
| author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2024-05-23 11:49:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 19:49:48 +0100 |
| commit | bfa05cc5e7a41c0291690516c2954aaefde7d9b9 (patch) | |
| tree | 6fcacc6686c6933a53bd7dde2f2542c7fd859b0b /keyboards/p3d | |
| parent | f37f27f02a55f750c21f671e712e3f704ba57885 (diff) | |
Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 1 (#23779)
Affects:
- `p3d/eu_isolation`
- `p3d/glitch`
- `p3d/q4z`
- `p3d/synapse`
- `p3d/tw40`
- `panc40`
- `papercranekeyboards/gerald65`
- `parallel/parallel_65/hotswap`
- `parallel/parallel_65/soldered`
- `pdxkbc`
- `pearlboards/atlas`
- `pearlboards/pandora`
- `pearlboards/pearl`
- `pearlboards/zeus`
- `pearlboards/zeuspad`
- `pegasus`
- `phantom`
- `phoenix`
- `picolab/frusta_fundamental`
- `pimentoso/paddino02/rev1`
- `pimentoso/paddino02/rev2/left`
- `pimentoso/paddino02/rev2/right`
- `pisces`
- `pizzakeyboards/pizza65`
- `pkb65`
- `planck`
- `playkbtw/ca66`
- `playkbtw/pk60`
- `playkbtw/pk64rgb`
- `pluckey`
- `plume/plume65`
- `plywrks/ahgase`
- `plywrks/lune`
- `pohjolaworks/louhi`
- `polycarbdiet/s20`
- `pom_keyboards/tnln95`
- `portal_66/hotswap`
- `portal_66/soldered`
- `pos78`
Diffstat (limited to 'keyboards/p3d')
| -rw-r--r-- | keyboards/p3d/eu_isolation/config.h | 21 | ||||
| -rw-r--r-- | keyboards/p3d/eu_isolation/keyboard.json | 6 | ||||
| -rw-r--r-- | keyboards/p3d/glitch/config.h | 34 | ||||
| -rw-r--r-- | keyboards/p3d/glitch/keyboard.json | 6 | ||||
| -rw-r--r-- | keyboards/p3d/q4z/config.h | 21 | ||||
| -rw-r--r-- | keyboards/p3d/q4z/keyboard.json | 6 | ||||
| -rw-r--r-- | keyboards/p3d/synapse/config.h | 19 | ||||
| -rw-r--r-- | keyboards/p3d/synapse/keyboard.json | 6 | ||||
| -rw-r--r-- | keyboards/p3d/tw40/config.h | 22 | ||||
| -rw-r--r-- | keyboards/p3d/tw40/keyboard.json | 6 |
10 files changed, 30 insertions, 117 deletions
diff --git a/keyboards/p3d/eu_isolation/config.h b/keyboards/p3d/eu_isolation/config.h deleted file mode 100644 index de7206efe2..0000000000 --- a/keyboards/p3d/eu_isolation/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* Copyright 2020 Austin "TuckTuckFloof" Ashmore | ||
| 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 | * You should have received a copy of the GNU General Public License | ||
| 13 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | #pragma once | ||
| 16 | |||
| 17 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 18 | #define LOCKING_SUPPORT_ENABLE | ||
| 19 | |||
| 20 | /* Locking resynchronize hack */ | ||
| 21 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/p3d/eu_isolation/keyboard.json b/keyboards/p3d/eu_isolation/keyboard.json index a94ee990ad..715515c42d 100644 --- a/keyboards/p3d/eu_isolation/keyboard.json +++ b/keyboards/p3d/eu_isolation/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": ["D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"], | 26 | "cols": ["D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"], |
| 21 | "rows": ["D2", "D3", "F1", "F0"] | 27 | "rows": ["D2", "D3", "F1", "F0"] |
diff --git a/keyboards/p3d/glitch/config.h b/keyboards/p3d/glitch/config.h deleted file mode 100644 index 0fc3805ff7..0000000000 --- a/keyboards/p3d/glitch/config.h +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Matthew Dias | ||
| 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 | ||
diff --git a/keyboards/p3d/glitch/keyboard.json b/keyboards/p3d/glitch/keyboard.json index 366707f807..5de1405f4f 100644 --- a/keyboards/p3d/glitch/keyboard.json +++ b/keyboards/p3d/glitch/keyboard.json | |||
| @@ -20,6 +20,12 @@ | |||
| 20 | "oled": true, | 20 | "oled": true, |
| 21 | "rgblight": true | 21 | "rgblight": true |
| 22 | }, | 22 | }, |
| 23 | "qmk": { | ||
| 24 | "locking": { | ||
| 25 | "enabled": true, | ||
| 26 | "resync": true | ||
| 27 | } | ||
| 28 | }, | ||
| 23 | "matrix_pins": { | 29 | "matrix_pins": { |
| 24 | "cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"], | 30 | "cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"], |
| 25 | "rows": ["D5", "D6", "B6", "D7", "C7", "B4", "B5", "D3", "D4", "C6"] | 31 | "rows": ["D5", "D6", "B6", "D7", "C7", "B4", "B5", "D3", "D4", "C6"] |
diff --git a/keyboards/p3d/q4z/config.h b/keyboards/p3d/q4z/config.h deleted file mode 100644 index 67553a4432..0000000000 --- a/keyboards/p3d/q4z/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* Copyright 2021 rjboone | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 19 | #define LOCKING_SUPPORT_ENABLE | ||
| 20 | /* Locking resynchronize hack */ | ||
| 21 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/p3d/q4z/keyboard.json b/keyboards/p3d/q4z/keyboard.json index 0b71df61b3..9dfa123c6c 100644 --- a/keyboards/p3d/q4z/keyboard.json +++ b/keyboards/p3d/q4z/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": ["D1", "D0", "D4", "B6", "B2", "B3", "B1", "F7", "F6", "F5"], | 26 | "cols": ["D1", "D0", "D4", "B6", "B2", "B3", "B1", "F7", "F6", "F5"], |
| 21 | "rows": ["F4", "C6", "D7", "E6", "B4"] | 27 | "rows": ["F4", "C6", "D7", "E6", "B4"] |
diff --git a/keyboards/p3d/synapse/config.h b/keyboards/p3d/synapse/config.h deleted file mode 100644 index 9f86bdabd7..0000000000 --- a/keyboards/p3d/synapse/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 qpockets | ||
| 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 | #define LOCKING_SUPPORT_ENABLE | ||
diff --git a/keyboards/p3d/synapse/keyboard.json b/keyboards/p3d/synapse/keyboard.json index 277be632a5..accd9ad47e 100644 --- a/keyboards/p3d/synapse/keyboard.json +++ b/keyboards/p3d/synapse/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": false | ||
| 24 | } | ||
| 25 | }, | ||
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["F0", "D4", "F5", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "B6"], | 27 | "cols": ["F0", "D4", "F5", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "B6"], |
| 22 | "rows": ["E6", "B0", "F4", "F1"] | 28 | "rows": ["E6", "B0", "F4", "F1"] |
diff --git a/keyboards/p3d/tw40/config.h b/keyboards/p3d/tw40/config.h deleted file mode 100644 index 99549d9efa..0000000000 --- a/keyboards/p3d/tw40/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 KnoblesseOblige | ||
| 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 | #define LOCKING_SUPPORT_ENABLE | ||
| 21 | |||
| 22 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/p3d/tw40/keyboard.json b/keyboards/p3d/tw40/keyboard.json index 356b610b2a..459e187533 100644 --- a/keyboards/p3d/tw40/keyboard.json +++ b/keyboards/p3d/tw40/keyboard.json | |||
| @@ -35,6 +35,12 @@ | |||
| 35 | "nkro": false, | 35 | "nkro": false, |
| 36 | "rgblight": true | 36 | "rgblight": true |
| 37 | }, | 37 | }, |
| 38 | "qmk": { | ||
| 39 | "locking": { | ||
| 40 | "enabled": true, | ||
| 41 | "resync": true | ||
| 42 | } | ||
| 43 | }, | ||
| 38 | "matrix_pins": { | 44 | "matrix_pins": { |
| 39 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], | 45 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], |
| 40 | "rows": ["B0", "D5", "D3", "D2"] | 46 | "rows": ["B0", "D5", "D3", "D2"] |
