[Keyboard] Quick hack to fix Astro65 board (#13665)

* [Keyboard] Quick hack to fix Astro65 board

* Use proper pins
master
Drashna Jaelre 2021-07-23 23:38:54 -07:00 committed by GitHub
parent b7fe93c4b8
commit 73d4d7dc2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -26,13 +26,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MANUFACTURER Swiftrax #define MANUFACTURER Swiftrax
#define PRODUCT Astro65 #define PRODUCT Astro65
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 5 #define MATRIX_ROWS 5
#define MATRIX_COLS 15 #define MATRIX_COLS 16
// ROWS: Top to bottom, COLS: Left to right // ROWS: Top to bottom, COLS: Left to right
#define MATRIX_ROW_PINS { B0, B3, F7, B1, B2 } #define MATRIX_ROW_PINS \
#define MATRIX_COL_PINS { E6, D5, C7, C6, B6, B5, B4, D7, D6, D4, F0, F1, F4, F5, F6 } { B0, B3, F7, B1, B2 }
#define MATRIX_COL_PINS \
{ E6, D5, D3, D4, D6, D7, B4, B5, B6, C6, C7, F6, F5, F4, F1, F0 }
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW