aboutsummaryrefslogtreecommitdiff
path: root/keyboards/doro67/multi/config.h
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/doro67/multi/config.h
Diffstat (limited to 'keyboards/doro67/multi/config.h')
-rw-r--r--keyboards/doro67/multi/config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/doro67/multi/config.h b/keyboards/doro67/multi/config.h
new file mode 100644
index 000000000..bd4bd7a5b
--- /dev/null
+++ b/keyboards/doro67/multi/config.h
@@ -0,0 +1,35 @@
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 0x4D4C // ML for Multi
8#define DEVICE_VER 0x0001
9#define MANUFACTURER Backprop Studio
10#define PRODUCT Doro67 Multi 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
33
34#define BACKLIGHT_PIN B7
35#define BACKLIGHT_LEVELS 7