diff options
Diffstat (limited to 'keyboards/bastardkb/skeletyl/config.h')
-rw-r--r-- | keyboards/bastardkb/skeletyl/config.h | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/keyboards/bastardkb/skeletyl/config.h b/keyboards/bastardkb/skeletyl/config.h new file mode 100644 index 000000000..a7530a5e7 --- /dev/null +++ b/keyboards/bastardkb/skeletyl/config.h | |||
@@ -0,0 +1,103 @@ | |||
1 | /* | ||
2 | * Copyright 2021 Quentin LEBASTARD <[email protected]> | ||
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 | #include "config_common.h" | ||
20 | #define VENDOR_ID 0xA8F8 | ||
21 | #define PRODUCT_ID 0x1830 | ||
22 | #define DEVICE_VER 0x0001 | ||
23 | #define MANUFACTURER Bastard Keyboards | ||
24 | #define PRODUCT Skeletyl | ||
25 | |||
26 | #define MATRIX_ROWS 8 | ||
27 | #define MATRIX_COLS 5 | ||
28 | #define RGBLIGHT_LIMIT_VAL 180 | ||
29 | #define MATRIX_ROW_PINS { B5, F7, F6, B6 } | ||
30 | #define MATRIX_COL_PINS { E6, C6, B1, B3, B2 } | ||
31 | |||
32 | #define DIODE_DIRECTION ROW2COL | ||
33 | |||
34 | #define RGB_DI_PIN D2 | ||
35 | #define RGBLED_NUM 36 | ||
36 | #define RGBLED_SPLIT { 18, 18 } | ||
37 | #define RGBLIGHT_ANIMATIONS | ||
38 | |||
39 | #define DEBOUNCE 5 | ||
40 | |||
41 | #define SOFT_SERIAL_PIN D0 | ||
42 | |||
43 | #define USB_POLLING_INTERVAL_MS 1 | ||
44 | #define MASTER_RIGHT | ||
45 | |||
46 | // RGB matrix support | ||
47 | #ifdef RGB_MATRIX_ENABLE | ||
48 | # define SPLIT_TRANSPORT_MIRROR | ||
49 | # define DRIVER_LED_TOTAL 36 // Number of LEDs | ||
50 | # define RGB_MATRIX_SPLIT { 18, 18 } | ||
51 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 | ||
52 | # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
53 | # define RGB_DISABLE_WHEN_USB_SUSPENDED | ||
54 | # define RGB_MATRIX_KEYPRESSES | ||
55 | // RGB Matrix Animation modes. Explicitly enabled | ||
56 | // For full list of effects, see: | ||
57 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | ||
58 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
59 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
60 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
61 | # define ENABLE_RGB_MATRIX_BREATHING | ||
62 | # define ENABLE_RGB_MATRIX_BAND_SAT | ||
63 | # define ENABLE_RGB_MATRIX_BAND_VAL | ||
64 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
65 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
66 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
67 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
68 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
69 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
70 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
71 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
72 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
73 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
74 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
75 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
76 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
77 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
78 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
79 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
80 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
81 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
82 | # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
83 | # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
84 | # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
85 | # define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
86 | # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
87 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
88 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
89 | # define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
90 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | ||
91 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
92 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
93 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
94 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
95 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
96 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
97 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
98 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
99 | # define ENABLE_RGB_MATRIX_SPLASH | ||
100 | # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
101 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
102 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
103 | #endif | ||