Make alt-tab more snappy

This commit is contained in:
Adam Kruszewski 2023-02-28 22:23:36 +01:00
parent 026eaeaa62
commit 00e9f62965

View file

@ -153,7 +153,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
void matrix_scan_user(void) { // The very important timer.
if (is_alt_tab_active) {
if (timer_elapsed(alt_tab_timer) > 1000) {
if (timer_elapsed(alt_tab_timer) > 800) {
unregister_code(KC_LALT);
is_alt_tab_active = false;
}