You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/KeyboardConfig.h

60 lines
1023 B

//#define DEBUG_SERIAL false
#define EEPROM_KEYMAP_LOCATION 0
10 years ago
#define MODEL00piers true
#ifdef MODEL00
10 years ago
#define COLS 14
#define ROWS 5
static const byte colPins[COLS] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, A0 };
static const byte rowPins[ROWS] = { A5, A4, A3, A2, A1 };
#endif
#ifdef MODEL00bis
10 years ago
#define COLS 14
#define ROWS 5
static const byte colPins[COLS] = { 0,1, 2, 3, 4, 5,6,7, 8, 9, 10,11,12, A0};
static const byte rowPins[ROWS] = { A1,A2,A3,A4,A5};
#endif
10 years ago
#ifdef MODEL00piers
#define COLS 16
#define ROWS 5
static const byte colPins[COLS] = {
3,
A4,
A5,
MISO,
SCK,
MOSI,
1,
2,
4,
5,
7,
8,
9,
10,
0,
12,
};
static const byte rowPins[ROWS] = { A0, A1,A2,A3 };
#endif
//#static const byte colPins[COLS] = { 16, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 };
//#static const byte rowPins[ROWS] = { A2, A3, A4, A5, 15 };
// if we're sticking to boot protocol, these could all be 6 + mods
// but *mumble*
#define KEYS_HELD_BUFFER 12