aboutsummaryrefslogtreecommitdiff
path: root/keyboards/draculad/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/draculad/config.h')
-rw-r--r--keyboards/draculad/config.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/keyboards/draculad/config.h b/keyboards/draculad/config.h
new file mode 100644
index 000000000..abcdc76b4
--- /dev/null
+++ b/keyboards/draculad/config.h
@@ -0,0 +1,69 @@
1/*
2Copyright 2021 @mangoiv
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22#define VENDOR_ID 0xFEED
23#define PRODUCT_ID 0x1B1E
24#define DEVICE_VER 0x0001
25#define MANUFACTURER mangoiv
26#define PRODUCT draculad
27
28#define MATRIX_ROWS 8
29#define MATRIX_COLS 5
30
31#define MATRIX_ROW_PINS {D4, C6, D7, E6}
32#define MATRIX_COL_PINS {F4, F5,F6, F7, B1}
33
34#define DIODE_DIRECTION COL2ROW
35
36#define DEBOUNCE 5
37
38
39#define USE_SERIAL
40#define SOFT_SERIAL_PIN D2
41
42#ifdef OLED_ENABLE
43 #define OLED_DISPLAY_128X64
44 #define OLED_TIMEOUT 30000
45#endif
46
47#define RGB_DI_PIN D3
48#ifdef RGB_DI_PIN
49#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
50#define RGBLIGHT_EFFECT_RAINBOW_MOOD
51#define RGBLIGHT_EFFECT_STATIC_GRADIENT
52#define RGBLIGHT_EFFECT_BREATHING
53#define RGBLED_NUM 10
54#define RGBLIGHT_SPLIT
55#define RGBLIGHT_HUE_STEP 8
56#define RGBLIGHT_SAT_STEP 8
57#define RGBLIGHT_VAL_STEP 8
58#define RGBLIGHT_SLEEP
59#endif
60
61#define ENCODERS_PAD_A {B2 , B4}
62#define ENCODERS_PAD_B {B6 , B5}
63
64#define ENCODER_RESOLUTIONS { 4, 4, 4, 1}
65#define UNUSED_PINS
66
67#define EE_HANDS
68
69#define LAYER_STATE_8BIT