diff options
| author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:00:24 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 00:00:24 +1100 |
| commit | 9e64300e67720a5468c2585391250ca5579b311b (patch) | |
| tree | d8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/bantam44 | |
| parent | dd086a51d82a574a55eb3b89e8943301d72296f3 (diff) | |
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/bantam44')
| -rw-r--r-- | keyboards/bantam44/config.h | 10 | ||||
| -rw-r--r-- | keyboards/bantam44/info.json | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/bantam44/config.h b/keyboards/bantam44/config.h index f979b1b4ba..b9449c4714 100644 --- a/keyboards/bantam44/config.h +++ b/keyboards/bantam44/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 | // Planck PCB default pin-out | ||
| 22 | // Change this to how you wired your keyboard | ||
| 23 | // COLS: Left to right, ROWS: Top to bottom | ||
| 24 | #define MATRIX_ROW_PINS { F0, D6, D4, D5 } | ||
| 25 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D0, B6, F7, F6, F5, F4, F1 } | ||
| 26 | |||
| 27 | /* COL2ROW or ROW2COL */ | ||
| 28 | #define DIODE_DIRECTION COL2ROW | ||
| 29 | |||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 32 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/bantam44/info.json b/keyboards/bantam44/info.json index aadd885f6a..2f7eef9ba2 100644 --- a/keyboards/bantam44/info.json +++ b/keyboards/bantam44/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "B6", "F7", "F6", "F5", "F4", "F1"], | ||
| 13 | "rows": ["F0", "D6", "D4", "D5"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "halfkay", | 17 | "bootloader": "halfkay", |
| 13 | "layouts": { | 18 | "layouts": { |
