diff options
Diffstat (limited to 'keyboards/gizmo_engineering/gk6/config.h')
-rwxr-xr-x | keyboards/gizmo_engineering/gk6/config.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/gizmo_engineering/gk6/config.h b/keyboards/gizmo_engineering/gk6/config.h new file mode 100755 index 000000000..f437840f9 --- /dev/null +++ b/keyboards/gizmo_engineering/gk6/config.h | |||
@@ -0,0 +1,83 @@ | |||
1 | /* | ||
2 | Copyright 2021 Gizmo Engineering | ||
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 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x6532 | ||
24 | #define PRODUCT_ID 0x0001 | ||
25 | #define DEVICE_VER 0x3031 | ||
26 | #define MANUFACTURER Gizmo Engineering | ||
27 | #define PRODUCT GK6 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | */ | ||
36 | #define MATRIX_ROW_PINS { B6, B4, D7, D6, D4} | ||
37 | #define MATRIX_COL_PINS { B5, C6, C7, F7, F6, D5, D3, D2, F1, F4, B7, F5 } | ||
38 | #define UNUSED_PINS | ||
39 | |||
40 | /* COL2ROW, ROW2COL*/ | ||
41 | #define DIODE_DIRECTION ROW2COL | ||
42 | |||
43 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
44 | #define DEBOUNCE 5 | ||
45 | |||
46 | // Use ~ key for the bootloader | ||
47 | #define BOOTMAGIC_LITE_ROW 0 | ||
48 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
49 | |||
50 | // RGB Matrix | ||
51 | #define DRIVER_ADDR_1 0b1110100 | ||
52 | #define DRIVER_ADDR_2 0b1110111 | ||
53 | |||
54 | #define DRIVER_COUNT 2 | ||
55 | #define DRIVER_1_LED_TOTAL 32 | ||
56 | #define DRIVER_2_LED_TOTAL 32 | ||
57 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | ||
58 | |||
59 | #define RGB_MATRIX_KEYPRESSES | ||
60 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | ||
61 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
62 | #define RGB_MATRIX_KEYPRESSES | ||
63 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
64 | #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
65 | #define RGB_MATRIX_STARTUP_SPD 127 | ||
66 | |||
67 | // RGB Matrix Animation modes. Explicitly enabled | ||
68 | // For full list of effects, see: | ||
69 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | ||
70 | #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
71 | #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
72 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
73 | #define ENABLE_RGB_MATRIX_BREATHING | ||
74 | #define ENABLE_RGB_MATRIX_BAND_VAL | ||
75 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
76 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
77 | #define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
78 | #define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
79 | #define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 25 | ||
80 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
81 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
82 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
83 | |||