Make alt-tab more snappy
This commit is contained in:
parent
026eaeaa62
commit
00e9f62965
1 changed files with 1 additions and 1 deletions
2
keymap.c
2
keymap.c
|
@ -153,7 +153,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
|
||||||
void matrix_scan_user(void) { // The very important timer.
|
void matrix_scan_user(void) { // The very important timer.
|
||||||
if (is_alt_tab_active) {
|
if (is_alt_tab_active) {
|
||||||
if (timer_elapsed(alt_tab_timer) > 1000) {
|
if (timer_elapsed(alt_tab_timer) > 800) {
|
||||||
unregister_code(KC_LALT);
|
unregister_code(KC_LALT);
|
||||||
is_alt_tab_active = false;
|
is_alt_tab_active = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue