From 58e4165cc6e1bbd53657ad6ec748b8ece8998fbe Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Fri, 23 Jul 2021 08:44:38 -0700 Subject: [PATCH 1/2] [Keyboard] Quick hack to fix Astro65 board --- keyboards/handwired/swiftrax/astro65/config.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/keyboards/handwired/swiftrax/astro65/config.h b/keyboards/handwired/swiftrax/astro65/config.h index 75ab5ee2f791..ae2a392f0d12 100644 --- a/keyboards/handwired/swiftrax/astro65/config.h +++ b/keyboards/handwired/swiftrax/astro65/config.h @@ -26,13 +26,15 @@ along with this program. If not, see . #define MANUFACTURER Swiftrax #define PRODUCT Astro65 /* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 +#define MATRIX_ROWS 5 +#define MATRIX_COLS 16 // ROWS: Top to bottom, COLS: Left to right -#define MATRIX_ROW_PINS { B0, B3, F7, B1, B2 } -#define MATRIX_COL_PINS { E6, D5, C7, C6, B6, B5, B4, D7, D6, D4, F0, F1, F4, F5, F6 } +#define MATRIX_ROW_PINS \ + { B0, B3, F7, B1, B2 } +#define MATRIX_COL_PINS \ + { E6, D5, C7, C6, B6, B5, B4, D7, D6, D4, F0, F1, F4, F5, F6, NO_PIN } /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW From 097e4743d8d9a248b4de86da0a9b0e9bd632b50b Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Fri, 23 Jul 2021 20:48:22 -0700 Subject: [PATCH 2/2] Use proper pins --- keyboards/handwired/swiftrax/astro65/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/handwired/swiftrax/astro65/config.h b/keyboards/handwired/swiftrax/astro65/config.h index ae2a392f0d12..6f77ba200691 100644 --- a/keyboards/handwired/swiftrax/astro65/config.h +++ b/keyboards/handwired/swiftrax/astro65/config.h @@ -34,7 +34,7 @@ along with this program. If not, see . #define MATRIX_ROW_PINS \ { B0, B3, F7, B1, B2 } #define MATRIX_COL_PINS \ - { E6, D5, C7, C6, B6, B5, B4, D7, D6, D4, F0, F1, F4, F5, F6, NO_PIN } + { E6, D5, D3, D4, D6, D7, B4, B5, B6, C6, C7, F6, F5, F4, F1, F0 } /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW