diff options
Diffstat (limited to 'keyboards/sofle/keymaps/devdev/config.h')
-rw-r--r-- | keyboards/sofle/keymaps/devdev/config.h | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/keyboards/sofle/keymaps/devdev/config.h b/keyboards/sofle/keymaps/devdev/config.h new file mode 100644 index 000000000..7d597d991 --- /dev/null +++ b/keyboards/sofle/keymaps/devdev/config.h | |||
@@ -0,0 +1,130 @@ | |||
1 | /* Copyright 2021 Dane Evans | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
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 | |||
19 | //#define USE_MATRIX_I2C | ||
20 | |||
21 | /* Select hand configuration */ | ||
22 | |||
23 | ///https://thomasbaart.nl/2018/12/01/reducing-firmware-size-in-qmk/ | ||
24 | |||
25 | |||
26 | #define MASTER_LEFT | ||
27 | // #define MASTER_RIGHT | ||
28 | // #define EE_HANDS | ||
29 | |||
30 | #define CUSTOM_FONT | ||
31 | |||
32 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding | ||
33 | |||
34 | |||
35 | #define TAPPING_FORCE_HOLD | ||
36 | #ifdef TAPPING_TERM | ||
37 | #undef TAPPING_TERM | ||
38 | #define TAPPING_TERM 200 | ||
39 | #endif | ||
40 | #define ENCODER_DIRECTION_FLIP | ||
41 | |||
42 | |||
43 | #define RGBLIGHT_SLEEP | ||
44 | // | ||
45 | #define RGBLIGHT_LAYERS | ||
46 | |||
47 | /* ws2812 RGB LED */ | ||
48 | #define RGB_DI_PIN D3 | ||
49 | |||
50 | |||
51 | #ifdef RGB_MATRIX_ENABLE | ||
52 | #define RGBLED_NUM 35 // Number of LEDs | ||
53 | #define RGBLED_NUM 35 // Number of LEDs | ||
54 | #define DRIVER_LED_TOTAL RGBLED_NUM | ||
55 | #endif | ||
56 | |||
57 | #ifdef RGBLIGHT_ENABLE | ||
58 | #undef RGBLED_NUM | ||
59 | |||
60 | //#define RGBLIGHT_ANIMATIONS | ||
61 | //#define RGBLIGHT_EFFECT_BREATHING | ||
62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
63 | //#define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
64 | //#define RGBLIGHT_EFFECT_SNAKE | ||
65 | //#define RGBLIGHT_EFFECT_KNIGHT | ||
66 | //#define RGBLIGHT_EFFECT_CHRISTMAS | ||
67 | //#define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
68 | //#define RGBLIGHT_EFFECT_RGB_TEST | ||
69 | //#define RGBLIGHT_EFFECT_ALTERNATING | ||
70 | //#define RGBLIGHT_EFFECT_TWINKLE | ||
71 | |||
72 | #define RGBLED_NUM 70 | ||
73 | //#define RGBLED_SPLIT | ||
74 | #define RGBLED_SPLIT { 35, 35 } // haven't figured out how to use this yet | ||
75 | |||
76 | //#define RGBLED_NUM 30 | ||
77 | #define RGBLIGHT_LIMIT_VAL 120 | ||
78 | #define RGBLIGHT_HUE_STEP 10 | ||
79 | #define RGBLIGHT_SAT_STEP 17 | ||
80 | #define RGBLIGHT_VAL_STEP 17 | ||
81 | #endif | ||
82 | |||
83 | #ifdef RGB_MATRIX_ENABLE | ||
84 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | ||
85 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | ||
86 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | ||
87 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | ||
88 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
89 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | ||
90 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | ||
91 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | ||
92 | |||
93 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
94 | |||
95 | # define RGB_MATRIX_HUE_STEP 8 | ||
96 | # define RGB_MATRIX_SAT_STEP 8 | ||
97 | # define RGB_MATRIX_VAL_STEP 8 | ||
98 | # define RGB_MATRIX_SPD_STEP 10 | ||
99 | |||
100 | /* Disable the animations you don't want/need. You will need to disable a good number of these * | ||
101 | * because they take up a lot of space. Disable until you can successfully compile your firmware. */ | ||
102 | // # define DISABLE_RGB_MATRIX_ALPHAS_MODS | ||
103 | // # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
104 | // # define DISABLE_RGB_MATRIX_BREATHING | ||
105 | // # define DISABLE_RGB_MATRIX_CYCLE_ALL | ||
106 | // # define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
107 | // # define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
108 | // # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
109 | // # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
110 | // # define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
111 | // # define DISABLE_RGB_MATRIX_DUAL_BEACON | ||
112 | // # define DISABLE_RGB_MATRIX_RAINBOW_BEACON | ||
113 | // # define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
114 | // # define DISABLE_RGB_MATRIX_RAINDROPS | ||
115 | // # define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
116 | // # define DISABLE_RGB_MATRIX_TYPING_HEATMAP | ||
117 | // # define DISABLE_RGB_MATRIX_DIGITAL_RAIN | ||
118 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE | ||
119 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
120 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
121 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
122 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
123 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
124 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
125 | // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
126 | // # define DISABLE_RGB_MATRIX_SPLASH | ||
127 | // # define DISABLE_RGB_MATRIX_MULTISPLASH | ||
128 | // # define DISABLE_RGB_MATRIX_SOLID_SPLASH | ||
129 | // # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
130 | #endif \ No newline at end of file | ||