diff options
Diffstat (limited to 'keyboards/3keyecosystem/2key2/config.h')
-rw-r--r-- | keyboards/3keyecosystem/2key2/config.h | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/keyboards/3keyecosystem/2key2/config.h b/keyboards/3keyecosystem/2key2/config.h new file mode 100644 index 000000000..4ca0e830e --- /dev/null +++ b/keyboards/3keyecosystem/2key2/config.h | |||
@@ -0,0 +1,104 @@ | |||
1 | /* | ||
2 | Copyright 2021 John Mueller | ||
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 | #pragma once | ||
18 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x1209 | ||
23 | #define PRODUCT_ID 0x3304 | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER 3-Key-Ecosystem | ||
26 | #define PRODUCT 2key2 | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 1 | ||
30 | #define MATRIX_COLS 2 | ||
31 | |||
32 | /* Keyboard Matrix Assignments */ | ||
33 | #define MATRIX_ROW_PINS { F6 } | ||
34 | #define MATRIX_COL_PINS { F4, D7 } | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | // LED on kbmount base board is on B7 | ||
38 | #define LED_CAPS_LOCK_PIN B7 // onboard LED for testing | ||
39 | |||
40 | /* COL2ROW, ROW2COL */ | ||
41 | #define DIODE_DIRECTION COL2ROW | ||
42 | |||
43 | /* RGB matrix key backlighting */ | ||
44 | #define RGB_DI_PIN B2 | ||
45 | #define DRIVER_LED_TOTAL 2 | ||
46 | #define RGB_MATRIX_KEYPRESSES | ||
47 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE | ||
48 | #define RGB_MATRIX_STARTUP_HUE 90 | ||
49 | #define RGB_MATRIX_STARTUP_SPD 20 | ||
50 | #define RGB_MATRIX_STARTUP_VAL 128 | ||
51 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
52 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | ||
53 | |||
54 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
55 | #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
56 | #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
57 | #define ENABLE_RGB_MATRIX_BREATHING | ||
58 | #define ENABLE_RGB_MATRIX_BAND_SAT | ||
59 | #define ENABLE_RGB_MATRIX_BAND_VAL | ||
60 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
61 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
62 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
63 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
64 | #define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
65 | #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
66 | #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
67 | #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
68 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
69 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
70 | #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
71 | #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
72 | #define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
73 | #define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
74 | #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
75 | #define ENABLE_RGB_MATRIX_RAINDROPS | ||
76 | #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
77 | #define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
78 | #define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
79 | #define ENABLE_RGB_MATRIX_HUE_WAVE | ||
80 | #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
81 | #define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
82 | |||
83 | #define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
84 | #define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
85 | |||
86 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
87 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
88 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
89 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
90 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
91 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
92 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
93 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
94 | #define ENABLE_RGB_MATRIX_SPLASH | ||
95 | #define ENABLE_RGB_MATRIX_MULTISPLASH | ||
96 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
97 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
98 | |||
99 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
100 | #define DEBOUNCE 5 | ||
101 | |||
102 | /* disable these deprecated features by default */ | ||
103 | #define NO_ACTION_MACRO | ||
104 | #define NO_ACTION_FUNCTION | ||