diff options
| author | Ryan <fauxpark@gmail.com> | 2023-03-11 04:59:07 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 04:59:07 +1100 |
| commit | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (patch) | |
| tree | d5891c76ad09f9c0177ef11753796e31f6cfbc19 /keyboards/kapl | |
| parent | 4b1f0e8daa8cfacbbc3cdc22653e2bc1458cea96 (diff) | |
Move matrix config to info.json, part 8 (#20030)
Diffstat (limited to 'keyboards/kapl')
| -rw-r--r-- | keyboards/kapl/rev1/config.h | 7 | ||||
| -rw-r--r-- | keyboards/kapl/rev1/info.json | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h index b99ab977a8..155c94909f 100644 --- a/keyboards/kapl/rev1/config.h +++ b/keyboards/kapl/rev1/config.h | |||
| @@ -2,13 +2,6 @@ | |||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | // wiring of each half | ||
| 6 | #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } | ||
| 7 | #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } | ||
| 8 | |||
| 9 | /* COL2ROW, ROW2COL*/ | ||
| 10 | #define DIODE_DIRECTION COL2ROW | ||
| 11 | |||
| 12 | /* Select hand configuration */ | 5 | /* Select hand configuration */ |
| 13 | #define MASTER_LEFT | 6 | #define MASTER_LEFT |
| 14 | 7 | ||
diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index 483bc655c0..7bd8f7f36c 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], | ||
| 13 | "rows": ["C6", "D7", "E6", "B4", "B5"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "split": { | 16 | "split": { |
| 12 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 13 | }, | 18 | }, |
