From 47dcec29456106828b83fe5b85fa7a7427ddc710 Mon Sep 17 00:00:00 2001 From: Chris Gerber Date: Sun, 3 Jan 2016 17:49:28 -0500 Subject: Add support for Atreus running on A-Star --- keyboard/atreus/config.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'keyboard/atreus/config.h') diff --git a/keyboard/atreus/config.h b/keyboard/atreus/config.h index 733f579d43..1ceef808a1 100644 --- a/keyboard/atreus/config.h +++ b/keyboard/atreus/config.h @@ -33,11 +33,15 @@ along with this program. If not, see . #define MATRIX_ROWS 4 #define MATRIX_COLS 11 -// Planck PCB default pin-out // Change this to how you wired your keyboard // COLS: Left to right, ROWS: Top to bottom -#define COLS (int []){ F6, F5, F4, B7, B6, B5, B4, B3, B2, B1, B0} -#define ROWS (int []){ D0, D1, D2, D3 } +#ifdef ATREUS_ASTAR + #define COLS (int []){ B7, D6, F7, F6, B6, D4, E6, B4, B5, C6, D7 } + #define ROWS (int []){ D0, D1, D3, D2 } +#else + #define COLS (int []){ F6, F5, F4, B7, B6, B5, B4, B3, B2, B1, B0} + #define ROWS (int []){ D0, D1, D2, D3 } +#endif /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -- cgit v1.2.1 From 1db3558a921d465e1c2f7f280f94dad8e95d32ac Mon Sep 17 00:00:00 2001 From: Chris Gerber Date: Wed, 17 Feb 2016 18:55:17 -0500 Subject: Change default controller for Atreus from Teensy2 to A-Star --- keyboard/atreus/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboard/atreus/config.h') diff --git a/keyboard/atreus/config.h b/keyboard/atreus/config.h index 1ceef808a1..ca0cd7e47a 100644 --- a/keyboard/atreus/config.h +++ b/keyboard/atreus/config.h @@ -35,10 +35,10 @@ along with this program. If not, see . // Change this to how you wired your keyboard // COLS: Left to right, ROWS: Top to bottom -#ifdef ATREUS_ASTAR +#if defined(ATREUS_ASTAR) #define COLS (int []){ B7, D6, F7, F6, B6, D4, E6, B4, B5, C6, D7 } #define ROWS (int []){ D0, D1, D3, D2 } -#else +#elif defined(ATREUS_TEENSY2) #define COLS (int []){ F6, F5, F4, B7, B6, B5, B4, B3, B2, B1, B0} #define ROWS (int []){ D0, D1, D2, D3 } #endif -- cgit v1.2.1