summaryrefslogtreecommitdiff
path: root/keyboard/atreus/config.h
diff options
context:
space:
mode:
authorStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-03-02 08:32:13 +0100
committerStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-03-02 08:32:13 +0100
commit861429aa4422054f87443eba16d2045fd6896a23 (patch)
tree911c9ff7d4c5133371a8476cbdeeb8fdc4969b2c /keyboard/atreus/config.h
parentf0dfe8ab97e6919957e371dcb09989fcedaada77 (diff)
parent93c9d2bc9f5b670c168671c85aa69806528c98bd (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboard/atreus/config.h')
-rw-r--r--keyboard/atreus/config.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboard/atreus/config.h b/keyboard/atreus/config.h
index 733f579d43..ca0cd7e47a 100644
--- a/keyboard/atreus/config.h
+++ b/keyboard/atreus/config.h
@@ -33,11 +33,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 }
+#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 }
+#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
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW