diff options
Diffstat (limited to 'keyboards/4by3/config.h')
-rw-r--r-- | keyboards/4by3/config.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/4by3/config.h b/keyboards/4by3/config.h new file mode 100644 index 000000000..daaafb02a --- /dev/null +++ b/keyboards/4by3/config.h | |||
@@ -0,0 +1,25 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0xEEEE | ||
7 | #define PRODUCT_ID 0x2019 | ||
8 | #define DEVICE_VER 0x0001 | ||
9 | #define MANUFACTURER Elias Sjögreen | ||
10 | #define PRODUCT 4by3 | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 3 | ||
14 | #define MATRIX_COLS 4 | ||
15 | |||
16 | /* key matrix pins */ | ||
17 | #define MATRIX_ROW_PINS { D1, D0, D4 } | ||
18 | #define MATRIX_COL_PINS { C6, D7, E6, B4 } | ||
19 | #define UNUSED_PINS | ||
20 | |||
21 | /* COL2ROW or ROW2COL */ | ||
22 | #define DIODE_DIRECTION COL2ROW | ||
23 | |||
24 | /* Set 0 if debouncing isn't needed */ | ||
25 | #define DEBOUNCE 5 | ||