diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/doro67/regular/config.h |
Diffstat (limited to 'keyboards/doro67/regular/config.h')
-rw-r--r-- | keyboards/doro67/regular/config.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/doro67/regular/config.h b/keyboards/doro67/regular/config.h new file mode 100644 index 000000000..c778ed7a0 --- /dev/null +++ b/keyboards/doro67/regular/config.h | |||
@@ -0,0 +1,32 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0x4250 // BP for Backprop | ||
7 | #define PRODUCT_ID 0x5245 // RE for Regular | ||
8 | #define DEVICE_VER 0x0001 | ||
9 | #define MANUFACTURER Backprop Studio | ||
10 | #define PRODUCT Doro67 Regular PCB | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 5 | ||
14 | #define MATRIX_COLS 15 | ||
15 | |||
16 | /* | ||
17 | * Keyboard Matrix Assignments | ||
18 | * | ||
19 | * Change this to how you wired your keyboard | ||
20 | * COLS: AVR pins used for columns, left to right | ||
21 | * ROWS: AVR pins used for rows, top to bottom | ||
22 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
23 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
24 | * | ||
25 | */ | ||
26 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | ||
27 | #define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 } | ||
28 | |||
29 | #define DIODE_DIRECTION COL2ROW | ||
30 | |||
31 | #define LED_CAPS_LOCK_PIN E6 | ||
32 | #define LED_PIN_ON_STATE 0 | ||