-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.h
175 lines (125 loc) · 4.07 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#pragma once
#define SPLIT_USB_DETECT
// #define SPLIT_WATCHDOG_ENABLE
// #define SPLIT_TRANSPORT_MIRROR
// #define SPLIT_MODS_ENABLE
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_OLED_ENABLE
#define SPLIT_WPM_ENABLE
#define SPLIT_TRANSACTION_IDS_USER USER_SYNC_A
#define WPM_SAMPLE_SECONDS 10
#define WPM_SAMPLE_PERIODS 50
#define WPM_LAUNCH_CONTROL
#define LAYER_LOCK_IDLE_TIMEOUT 900000
// #define OLED_SCROLL_TIMEOUT 0
// #define OLED_TIMEOUT 10000
/*
Animations/deferred executions seem to interfere
with last_input_activity_elapsed();
timeout managed manually in keymap instead.
*/
// #define OLED_UPDATE_INTERVAL 25
//#define USE_MATRIX_I2C
#define OLED_DISPLAY_64X128
// #define OLED_COLUMN_OFFSET 1
// #define MASTER_LEFT
#define MASTER_RIGHT
// #define EE_HANDS
//#define QUICK_TAP_TERM 0
//#define TAPPING_TERM 100
#ifdef RGB_MATRIX_ENABLE
// #define RGB_MATRIX_KEYPRESSES
// #define RGB_DISABLE_WHEN_USB_SUSPENDED
// #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
#define RGB_MATRIX_HUE_STEP 8
#define RGB_MATRIX_SAT_STEP 8
#define RGB_MATRIX_VAL_STEP 8
#define RGB_MATRIX_SPD_STEP 10
// #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE
#define RGB_MATRIX_TIMEOUT 900000
#define RGB_MATRIX_SLEEP
#define ENABLE_RGB_MATRIX_BAND_VAL
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
#define ENABLE_RGB_MATRIX_RIVERFLOW
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
#define ENABLE_RGB_MATRIX_MULTISPLASH
#define RGB_MATRIX_SOLID_REACTIVE_GRADIENT_MODE
#endif
#undef TAPPING_TOGGLE
#define TAPPING_TOGGLE 2
#undef ONESHOT_TAP_TOGGLE
#define ONESHOT_TAP_TOGGLE 3
#undef ONESHOT_TIMEOUT
#define ONESHOT_TIMEOUT 1000
// #define NO_ACTION_ONESHOT
//#define COMBO_TERM 20
#define COMBO_TERM_PER_COMBO
#define COMBO_SHOULD_TRIGGER
#define COMBO_ONLY_FROM_LAYER 0
#define COMBO_MUST_TAP_PER_COMBO
//#define EXTRA_SHORT_COMBOS // Saves space, but only 6 keys per combo
#define COMBO_TERM_PER_COMBO
// #define COMBO_MUST_PRESS_IN_ORDER_PER_COMBO
// Timer for mod and layer taps
#undef TAPPING_TERM
#define TAPPING_TERM 200
#define TAPPING_TERM_PER_KEY
// Perform hold action if other keys are pressed (nested/rolled activations).
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
// Perform hold action if other keys are pressed (nested only).
#define PERMISSIVE_HOLD_PER_KEY
#define ACHORDION_STREAK
// Disable repeating tap function on tap-hold keys.
// #define QUICK_TAP_TERM 0
#define QUICK_TAP_TERM_PER_KEY
// N-key rollover
#define FORCE_NKRO
// Auto Shift
// #define NO_AUTO_SHIFT_ALPHA
// #define NO_AUTO_SHIFT_NUMERIC
// #define NO_AUTO_SHIFT_SPECIAL
// #define AUTO_SHIFT_TIMEOUT TAPPING_TERM
// #define AUTO_SHIFT_NO_SETUP
// Auto Shift for modtaps
// #define RETRO_SHIFT 500
// Mouse key speed and acceleration.
#define MK_COMBINED
#undef MOUSEKEY_DELAY
#define MOUSEKEY_DELAY 0
#undef MOUSEKEY_INTERVAL
#define MOUSEKEY_INTERVAL 8
#undef MOUSEKEY_MOVE_DELTA
#define MOUSEKEY_MOVE_DELTA 1
#undef MOUSEKEY_MAX_SPEED
#define MOUSEKEY_MAX_SPEED 20
#undef MOUSEKEY_TIME_TO_MAX
#define MOUSEKEY_TIME_TO_MAX 80
#undef MOUSEKEY_WHEEL_DELAY
#define MOUSEKEY_WHEEL_DELAY 0
#undef MOUSEKEY_WHEEL_INTERVAL
#define MOUSEKEY_WHEEL_INTERVAL 80
#undef MOUSEKEY_WHEEL_MAX_SPEED
#define MOUSEKEY_WHEEL_MAX_SPEED 8
#undef MOUSEKEY_WHEEL_TIME_TO_MAX
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
// Makes GESC key output escape while ctrl is held
// #define GRAVE_ESC_CTRL_OVERRIDE
#define OLED_FONT_H "keyboards/crkbd/keymaps/desync/font.c"
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE
// #define NO_ACTION_ONESHOT
#define NO_MUSIC_MODE
#define NO_ALT_REPEAT_KEY
// #define LAYER_STATE_8BIT
#define LAYER_STATE_16BIT
// #define PS2_CLOCK_PIN B5
// #define PS2_DATA_PIN B4
// #define PS2_PIO_USE_PIO1
// #define PS2_MOUSE_ROTATE 90
// #define PS2_MOUSE_SCROLL_BTN_MASK 0
// #define PS2_MOUSE_DEBUG_RAW
// #define PS2_MOUSE_DEBUG_HID
// #define MH_AUTO_BUTTONS_LAYER _MOUSE_BTN
// #define MH_AUTO_BUTTONS_TIMEOUT 750