diff options
Diffstat (limited to 'keyboards/db/db63/config.h')
-rw-r--r-- | keyboards/db/db63/config.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/db/db63/config.h b/keyboards/db/db63/config.h new file mode 100644 index 000000000..85625b720 --- /dev/null +++ b/keyboards/db/db63/config.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | Copyright 2020 Hung DO <[email protected]> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #define VENDOR_ID 0xFAAD | ||
21 | #define PRODUCT_ID 0x422D | ||
22 | #define DEVICE_VER 0x0200 | ||
23 | #define MANUFACTURER HNB | ||
24 | #define PRODUCT DB63v1 Hotswap | ||
25 | |||
26 | #define MATRIX_ROWS 6 | ||
27 | #define MATRIX_COLS 14 | ||
28 | |||
29 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5 } | ||
30 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2 } | ||
31 | #define UNUSED_PINS | ||
32 | |||
33 | #define DIODE_DIRECTION COL2ROW | ||
34 | |||
35 | #define RGBLED_NUM 18 | ||
36 | #define RGBLIGHT_ANIMATIONS | ||
37 | |||
38 | #define BACKLIGHT_PIN D4 | ||
39 | #define BACKLIGHT_LEVELS 3 | ||