diff options
| author | Ryan <fauxpark@gmail.com> | 2023-02-14 18:39:41 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-14 00:39:41 -0700 |
| commit | 2cdf99ae950a82e233482347651b7689c4896827 (patch) | |
| tree | f26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/arrayperipherals | |
| parent | 0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff) | |
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/arrayperipherals')
| -rw-r--r-- | keyboards/arrayperipherals/1x4p1/config.h | 10 | ||||
| -rw-r--r-- | keyboards/arrayperipherals/1x4p1/info.json | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/arrayperipherals/1x4p1/config.h b/keyboards/arrayperipherals/1x4p1/config.h index 719c2c00da..b70680e4f5 100644 --- a/keyboards/arrayperipherals/1x4p1/config.h +++ b/keyboards/arrayperipherals/1x4p1/config.h | |||
| @@ -17,16 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | /* key matrix size */ | ||
| 22 | #define MATRIX_ROWS 1 | ||
| 23 | #define MATRIX_COLS 5 | ||
| 24 | |||
| 25 | |||
| 26 | #define DIRECT_PINS { \ | ||
| 27 | { C7, B7, D6, F5, F7} \ | ||
| 28 | } | ||
| 29 | |||
| 30 | /* rotary encoder*/ | 20 | /* rotary encoder*/ |
| 31 | #define ENCODERS_PAD_A {F0} | 21 | #define ENCODERS_PAD_A {F0} |
| 32 | #define ENCODERS_PAD_B {F1} | 22 | #define ENCODERS_PAD_B {F1} |
diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/info.json index b224d3d5a6..0441646af0 100644 --- a/keyboards/arrayperipherals/1x4p1/info.json +++ b/keyboards/arrayperipherals/1x4p1/info.json | |||
| @@ -10,6 +10,11 @@ | |||
| 10 | }, | 10 | }, |
| 11 | "processor": "atmega32u4", | 11 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 12 | "bootloader": "caterina", |
| 13 | "matrix_pins": { | ||
| 14 | "direct": [ | ||
| 15 | ["C7", "B7", "D6", "F5", "F7"] | ||
| 16 | ] | ||
| 17 | }, | ||
| 13 | "layouts": { | 18 | "layouts": { |
| 14 | "LAYOUT_ortho_1x5": { | 19 | "LAYOUT_ortho_1x5": { |
| 15 | "layout": [ | 20 | "layout": [ |
