diff options
Diffstat (limited to 'keyboards/kinesis/alvicstep/config.h')
| -rw-r--r-- | keyboards/kinesis/alvicstep/config.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/kinesis/alvicstep/config.h b/keyboards/kinesis/alvicstep/config.h new file mode 100644 index 000000000..88b7e2644 --- /dev/null +++ b/keyboards/kinesis/alvicstep/config.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | #ifndef ALVICSTEP_CONFIG_H | ||
| 2 | #define ALVICSTEP_CONFIG_H | ||
| 3 | |||
| 4 | #include "../config.h" | ||
| 5 | |||
| 6 | /* USB Device descriptor parameter */ | ||
| 7 | #define PRODUCT_ID 0x6060 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | |||
| 10 | /* key matrix size */ | ||
| 11 | #define MATRIX_ROWS 16 | ||
| 12 | #define MATRIX_COLS 8 | ||
| 13 | |||
| 14 | /* | ||
| 15 | * Keyboard Matrix Assignments | ||
| 16 | * | ||
| 17 | * Change this to how you wired your keyboard | ||
| 18 | * COLS: AVR pins used for columns, left to right | ||
| 19 | * ROWS: AVR pins used for rows, top to bottom | ||
| 20 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 21 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 22 | * | ||
| 23 | */ | ||
| 24 | //Passed through the port multipler, so 4 pins =16 | ||
| 25 | #define MATRIX_ROW_PINS { F0,F1, F2, F3 } | ||
| 26 | |||
| 27 | // May be upside down. | ||
| 28 | #define MATRIX_COL_PINS { B0,B1, B2, B3, B4, B5, B6, B7 } | ||
| 29 | #define UNUSED_PINS | ||
| 30 | |||
| 31 | /* COL2ROW or ROW2COL */ | ||
| 32 | #define DIODE_DIRECTION COL2ROW | ||
| 33 | |||
| 34 | |||
| 35 | #endif | ||
