aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/post_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/post_config.h')
-rw-r--r--users/drashna/post_config.h99
1 files changed, 99 insertions, 0 deletions
diff --git a/users/drashna/post_config.h b/users/drashna/post_config.h
index 7c214b66d..b9d934c42 100644
--- a/users/drashna/post_config.h
+++ b/users/drashna/post_config.h
@@ -38,3 +38,102 @@
38# define RGBLIGHT_EFFECT_TWINKLE 38# define RGBLIGHT_EFFECT_TWINKLE
39# endif 39# endif
40#endif 40#endif
41
42#ifdef RGB_MATRIX_ENABLE
43# ifndef RGB_MATRIX_REST_MODE
44# if defined(SPLIT_KEYBOARD) || defined(KEYBOARD_ergodox_ez) || defined(KEYBOARD_moonlander)
45# define RGB_MATRIX_REST_MODE RGB_MATRIX_CYCLE_OUT_IN_DUAL
46# else
47# define RGB_MATRIX_REST_MODE RGB_MATRIX_CYCLE_OUT_IN
48# endif
49# endif
50# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_REST_MODE
51#endif
52
53#ifdef QMK_KEYS_PER_SCAN
54# undef QMK_KEYS_PER_SCAN
55#endif
56#define QMK_KEYS_PER_SCAN 4
57
58#ifdef MOUSEKEY_ENABLE
59// mouse movement config
60# ifdef MK_3_SPEED
61# undef MK_3_SPEED
62# endif
63# define MK_KINETIC_SPEED
64# ifdef MK_KINETIC_SPEED
65# ifndef MOUSEKEY_DELAY
66# define MOUSEKEY_DELAY 8
67# endif
68# ifndef MOUSEKEY_INTERVAL
69# define MOUSEKEY_INTERVAL 20
70# endif
71# ifndef MOUSEKEY_MOVE_DELTA
72# define MOUSEKEY_MOVE_DELTA 25
73# endif
74# else
75# ifndef MOUSEKEY_DELAY
76# define MOUSEKEY_DELAY 300
77# endif
78# ifndef MOUSEKEY_INTERVAL
79# define MOUSEKEY_INTERVAL 50
80# endif
81# ifndef MOUSEKEY_MOVE_DELTA
82# define MOUSEKEY_MOVE_DELTA 5
83# endif
84# endif
85# ifndef MOUSEKEY_MAX_SPEED
86# define MOUSEKEY_MAX_SPEED 7
87# endif
88# ifndef MOUSEKEY_TIME_TO_MAX
89# define MOUSEKEY_TIME_TO_MAX 60
90# endif
91# ifndef MOUSEKEY_INITIAL_SPEED
92# define MOUSEKEY_INITIAL_SPEED 100
93# endif
94# ifndef MOUSEKEY_BASE_SPEED
95# define MOUSEKEY_BASE_SPEED 1000
96# endif
97# ifndef MOUSEKEY_DECELERATED_SPEED
98# define MOUSEKEY_DECELERATED_SPEED 400
99# endif
100# ifndef MOUSEKEY_ACCELERATED_SPEED
101# define MOUSEKEY_ACCELERATED_SPEED 3000
102# endif
103// mouse scroll config
104# ifndef MOUSEKEY_WHEEL_DELAY
105# define MOUSEKEY_WHEEL_DELAY 15
106# endif
107# ifndef MOUSEKEY_WHEEL_DELTA
108# define MOUSEKEY_WHEEL_DELTA 1
109# endif
110# ifndef MOUSEKEY_WHEEL_INTERVAL
111# define MOUSEKEY_WHEEL_INTERVAL 50
112# endif
113# ifndef MOUSEKEY_WHEEL_MAX_SPEED
114# define MOUSEKEY_WHEEL_MAX_SPEED 8
115# endif
116# ifndef MOUSEKEY_WHEEL_TIME_TO_MAX
117# define MOUSEKEY_WHEEL_TIME_TO_MAX 80
118# endif
119// mouse scroll kinetic config
120# ifndef MOUSEKEY_WHEEL_INITIAL_MOVEMENTS
121# define MOUSEKEY_WHEEL_INITIAL_MOVEMENTS 8
122# endif
123# ifndef MOUSEKEY_WHEEL_BASE_MOVEMENTS
124# define MOUSEKEY_WHEEL_BASE_MOVEMENTS 48
125# endif
126# ifndef MOUSEKEY_WHEEL_ACCELERATED_MOVEMENTS
127# define MOUSEKEY_WHEEL_ACCELERATED_MOVEMENTS 48
128# endif
129# ifndef MOUSEKEY_WHEEL_DECELERATED_MOVEMENTS
130# define MOUSEKEY_WHEEL_DECELERATED_MOVEMENTS 8
131# endif
132#endif // MOUSEKEY_ENABLE
133
134#if !defined(LAYER_STATE_16BIT) && !defined(LAYER_STATE_8BIT) && !defined(LAYER_STATE_32BIT)
135# define LAYER_STATE_16BIT
136#endif
137#ifndef DYNAMIC_KEYMAP_LAYER_COUNT
138# define DYNAMIC_KEYMAP_LAYER_COUNT 11
139#endif