diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/dp60/config.h |
Diffstat (limited to 'keyboards/dp60/config.h')
-rw-r--r-- | keyboards/dp60/config.h | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/keyboards/dp60/config.h b/keyboards/dp60/config.h new file mode 100644 index 000000000..f4a44206f --- /dev/null +++ b/keyboards/dp60/config.h | |||
@@ -0,0 +1,109 @@ | |||
1 | /** | ||
2 | * config.h | ||
3 | * | ||
4 | Copyright 2020 astro <[email protected]> | ||
5 | This program is free software: you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation, either version 2 of the License, or | ||
8 | (at your option) any later version. | ||
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 | You should have received a copy of the GNU General Public License | ||
14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #pragma once | ||
17 | |||
18 | #include "config_common.h" | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define VENDOR_ID 0x60BE | ||
22 | #define PRODUCT_ID 0x00BE | ||
23 | #define DEVICE_VER 0x0001 | ||
24 | #define MANUFACTURER astro | ||
25 | #define PRODUCT DP60 | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 5 | ||
29 | #define MATRIX_COLS 15 | ||
30 | #define UNUSED_PINS | ||
31 | #define DIODE_DIRECTION COL2ROW | ||
32 | |||
33 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
34 | #define DEBOUNCE 5 | ||
35 | |||
36 | /* | ||
37 | * Feature disable options | ||
38 | * These options are also useful to firmware size reduction. | ||
39 | */ | ||
40 | |||
41 | /* disable debug print */ | ||
42 | //#define NO_DEBUG | ||
43 | |||
44 | /* disable print */ | ||
45 | //#define NO_PRINT | ||
46 | |||
47 | //rgb light setting | ||
48 | #define RGBLED_NUM 18 | ||
49 | #define RGB_DI_PIN D7 | ||
50 | #define RGBLIGHT_ANIMATIONS | ||
51 | #define RGBLIGHT_HUE_STEP 8 | ||
52 | #define RGBLIGHT_SAT_STEP 8 | ||
53 | #define RGBLIGHT_VAL_STEP 8 | ||
54 | |||
55 | //rgb matrix setting | ||
56 | #define DRIVER_ADDR_1 0b1110100 | ||
57 | #define DRIVER_ADDR_2 0b1110111 | ||
58 | #define DRIVER_COUNT 2 | ||
59 | #define DRIVER_1_LED_TOTAL 36 | ||
60 | #define DRIVER_2_LED_TOTAL 36 | ||
61 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | ||
62 | // RGB Matrix Animation modes. Explicitly enabled | ||
63 | // For full list of effects, see: | ||
64 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | ||
65 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
66 | #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
67 | #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
68 | #define ENABLE_RGB_MATRIX_BREATHING | ||
69 | #define ENABLE_RGB_MATRIX_BAND_SAT | ||
70 | #define ENABLE_RGB_MATRIX_BAND_VAL | ||
71 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
72 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
73 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
74 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
75 | #define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
76 | #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
77 | #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
78 | #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
79 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
80 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
81 | #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
82 | #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
83 | #define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
84 | #define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
85 | #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
86 | #define ENABLE_RGB_MATRIX_RAINDROPS | ||
87 | #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
88 | #define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
89 | #define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
90 | #define ENABLE_RGB_MATRIX_HUE_WAVE | ||
91 | #define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
92 | #define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
93 | #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
94 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
95 | #define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
96 | #define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
97 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | ||
98 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
99 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
100 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
101 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
102 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
103 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
104 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
105 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
106 | #define ENABLE_RGB_MATRIX_SPLASH | ||
107 | #define ENABLE_RGB_MATRIX_MULTISPLASH | ||
108 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
109 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||