aboutsummaryrefslogtreecommitdiff
path: root/keyboards/aleblazer/zodiark/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aleblazer/zodiark/config.h')
-rw-r--r--keyboards/aleblazer/zodiark/config.h75
1 files changed, 75 insertions, 0 deletions
diff --git a/keyboards/aleblazer/zodiark/config.h b/keyboards/aleblazer/zodiark/config.h
new file mode 100644
index 000000000..84795f024
--- /dev/null
+++ b/keyboards/aleblazer/zodiark/config.h
@@ -0,0 +1,75 @@
1/*
2Copyright 2021 Spencer Deven <[email protected]>
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 3 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#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0xF901
23#define PRODUCT_ID 0xF902
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Aleblazer
26#define PRODUCT Zodiark
27
28#define NO_ACTION_MACRO
29
30#define SOFT_SERIAL_PIN D3
31#define SERIAL_USE_MULTI_TRANSACTION
32#define SELECT_SOFT_SERIAL_SPEED 1
33
34/* key matrix size */
35#define MATRIX_ROWS 10
36#define MATRIX_COLS 7
37#define DIODE_DIRECTION COL2ROW
38
39#define ENCODERS_PAD_A { D2 }
40#define ENCODERS_PAD_B { D4 }
41#define ENCODERS_PAD_A_RIGHT { D4 }
42#define ENCODERS_PAD_B_RIGHT { D2 }
43#define ENCODER_RESOLUTION 3
44
45/* key matrix pins */
46#define MATRIX_ROW_PINS { C6, D7, E6, B4, F4 }
47#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
48
49/* Set 0 if debouncing isn't needed */
50#define DEBOUNCE 5
51
52#define RGB_DI_PIN B5
53
54#ifdef RGBLIGHT_ENABLE
55#define RGBLED_NUM 68
56#define RGBLIGHT_SPLIT
57#define RGBLED_SPLIT { 34, 34 }
58#define RGBLIGHT_LIMIT_VAL 170
59#define RGBLIGHT_ANIMATIONS
60#define RGBLIGHT_HUE_STEP 8
61#define RGBLIGHT_SAT_STEP 8
62#define RGBLIGHT_VAL_STEP 8
63#endif
64
65#ifdef RGB_MATRIX_ENABLE
66#define DRIVER_LED_TOTAL 68
67#define RGB_MATRIX_SPLIT { 34, 34 }
68#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
69#define RGB_MATRIX_KEYPRESSES
70#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
71#define RGB_MATRIX_HUE_STEP 8
72#define RGB_MATRIX_SAT_STEP 8
73#define RGB_MATRIX_VAL_STEP 8
74#define RGB_MATRIX_SPD_STEP 10
75#endif