aboutsummaryrefslogtreecommitdiff
path: root/users/bcat/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/bcat/config.h')
-rw-r--r--users/bcat/config.h79
1 files changed, 75 insertions, 4 deletions
diff --git a/users/bcat/config.h b/users/bcat/config.h
index 5bb93f383..7bb5d71ba 100644
--- a/users/bcat/config.h
+++ b/users/bcat/config.h
@@ -14,6 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17/* Enable NKRO by default. All my devices support this, and it enables me to
18 * dispense with the NK_TOGG key, thus saving firmware space by not compiling
19 * magic keycode support.
20 */
21#define FORCE_NKRO
22
17/* Wait between tap_code register and unregister to fix flaky media keys. */ 23/* Wait between tap_code register and unregister to fix flaky media keys. */
18#undef TAP_CODE_DELAY 24#undef TAP_CODE_DELAY
19 25
@@ -31,6 +37,22 @@
31 */ 37 */
32#define TAPPING_FORCE_HOLD 38#define TAPPING_FORCE_HOLD
33 39
40#if defined(OLED_ENABLE)
41/* The built-in OLED timeout wakes the OLED screen every time the buffer is
42 * updated, even if no user activity has occurred recently. This prevents the
43 * OLED from ever turning off during a continuously running animation. To avoid
44 * this, we disable the default timeout and implement our own in
45 * oled_task_user.
46 */
47# undef OLED_TIMEOUT
48# define OLED_DISABLE_TIMEOUT
49
50# if defined(SPLIT_KEYBOARD)
51/* Sync OLED on/off state between halves of split keyboards. */
52# define SPLIT_OLED_ENABLE
53# endif
54#endif
55
34#if defined(RGB_MATRIX_ENABLE) 56#if defined(RGB_MATRIX_ENABLE)
35/* Turn off per-key RGB when the host goes to sleep. */ 57/* Turn off per-key RGB when the host goes to sleep. */
36# define RGB_DISABLE_WHEN_USB_SUSPENDED 58# define RGB_DISABLE_WHEN_USB_SUSPENDED
@@ -46,9 +68,42 @@
46# define RGB_MATRIX_VAL_STEP 17 68# define RGB_MATRIX_VAL_STEP 17
47# define RGB_MATRIX_SPD_STEP 17 69# define RGB_MATRIX_SPD_STEP 17
48 70
49/* Turn on additional RGB animations. */ 71/* Enable specific per-key animation modes. */
72# define ENABLE_RGB_MATRIX_ALPHAS_MODS
73# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
74# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
75# define ENABLE_RGB_MATRIX_BAND_SAT
76# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
77# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
78# define ENABLE_RGB_MATRIX_BAND_VAL
79# define ENABLE_RGB_MATRIX_BREATHING
80# define ENABLE_RGB_MATRIX_CYCLE_ALL
81# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
82# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
83# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
84# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
85# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
86# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
87# define ENABLE_RGB_MATRIX_DUAL_BEACON
88# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
89# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
90# define ENABLE_RGB_MATRIX_HUE_BREATHING
91# define ENABLE_RGB_MATRIX_HUE_PENDULUM
92# define ENABLE_RGB_MATRIX_HUE_WAVE
93# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
94# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
95# define ENABLE_RGB_MATRIX_PIXEL_RAIN
96# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
97# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
98# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
99# define ENABLE_RGB_MATRIX_RAINDROPS
100
101/* Enable additional per-key animation modes that require a copy of the
102 * framebuffer (with accompanying storage cost).
103 */
50# define RGB_MATRIX_FRAMEBUFFER_EFFECTS 104# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
51# define RGB_MATRIX_KEYPRESSES 105# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
106# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
52#endif 107#endif
53 108
54#if defined(RGBLIGHT_ENABLE) 109#if defined(RGBLIGHT_ENABLE)
@@ -64,8 +119,18 @@
64# define RGBLIGHT_SAT_STEP 17 119# define RGBLIGHT_SAT_STEP 17
65# define RGBLIGHT_VAL_STEP 17 120# define RGBLIGHT_VAL_STEP 17
66 121
67/* Turn on additional RGB animations. */ 122/* Enable specific underglow animation modes. (Skip TWINKLE because it seems to
68# define RGBLIGHT_ANIMATIONS 123 * be broken on ARM: https://github.com/qmk/qmk_firmware/issues/15345.)
124 */
125# define RGBLIGHT_EFFECT_ALTERNATING
126# define RGBLIGHT_EFFECT_BREATHING
127# define RGBLIGHT_EFFECT_CHRISTMAS
128# define RGBLIGHT_EFFECT_KNIGHT
129# define RGBLIGHT_EFFECT_RAINBOW_MOOD
130# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
131# define RGBLIGHT_EFFECT_RGB_TEST
132# define RGBLIGHT_EFFECT_SNAKE
133# define RGBLIGHT_EFFECT_STATIC_GRADIENT
69#endif 134#endif
70 135
71#if defined(BACKLIGHT_ENABLE) 136#if defined(BACKLIGHT_ENABLE)
@@ -77,3 +142,9 @@
77 142
78# define BACKLIGHT_LEVELS 7 143# define BACKLIGHT_LEVELS 7
79#endif 144#endif
145
146/* Turn off unused config options to reduce firmware size. */
147#define LAYER_STATE_8BIT
148#define NO_ACTION_ONESHOT
149#undef LOCKING_RESYNC_ENABLE
150#undef LOCKING_SUPPORT_ENABLE