]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/e6_rgb/config.h
Adds a period to the docs.
[qmk_firmware.git] / keyboards / e6_rgb / config.h
1 /**
2  * config.h
3  *
4  */
5 #pragma once
6
7 #include "config_common.h"
8
9 /* USB Device descriptor parameter */
10 #define VENDOR_ID       0xDEAD
11 #define PRODUCT_ID      0xFEED
12 #define DEVICE_VER      0x0062
13 #define MANUFACTURER    astro
14 #define PRODUCT         e6rgb
15 #define DESCRIPTION     60% rgb keyboard
16
17 /* key matrix size */
18 #define MATRIX_ROWS 5
19 #define MATRIX_COLS 14
20 /* key matrix pins */
21 #define MATRIX_ROW_PINS { F1, F4, F5, F6, D6 }
22 #define MATRIX_COL_PINS { D7, B4, B5, B6, C6, C7, F7, F0, B0, B1, D2, D3, B3, B2 }
23 #define UNUSED_PINS
24 #define DIODE_DIRECTION COL2ROW
25
26 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
27 #define DEBOUNCE 5
28
29 /*
30  * Feature disable options
31  *  These options are also useful to firmware size reduction.
32  */
33
34 /* disable debug print */
35 //#define NO_DEBUG
36
37 /* disable print */
38 //#define NO_PRINT
39
40 /* disable action features */
41 //#define NO_ACTION_LAYER
42 //#define NO_ACTION_TAPPING
43 //#define NO_ACTION_ONESHOT
44 //#define NO_ACTION_MACRO
45 //#define NO_ACTION_FUNCTION
46
47 //rgb light setting
48 #define RGBLED_NUM      6
49 #define RGB_DI_PIN      B7
50 #define RGBLIGHT_ANIMATIONS
51 #define RGBLIGHT_HUE_STEP 8
52 #define RGBLIGHT_SAT_STEP 8
53 #define RGBLIGHT_VAL_STEP 8
54
55 #define DRIVER_ADDR_1 0b1010000
56 #define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
57
58 #define DRIVER_COUNT 2
59 #define DRIVER_1_LED_TOTAL 63
60 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
61
62 // tapping setting
63 #define TAPPING_TERM    200
64 #define RETRO_TAPPING
65 #define PERMISSIVE_HOLD