mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-12 15:05:04 +00:00
Deactivate oneshot mods once timedout
This commit is contained in:
parent
5682254f71
commit
3ab0f4d9e5
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ void action_exec(keyevent_t event)
|
||||||
dprintf("Oneshot layer: timeout\n");
|
dprintf("Oneshot layer: timeout\n");
|
||||||
clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED);
|
clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED);
|
||||||
}
|
}
|
||||||
|
if (has_oneshot_mods_timed_out()) {
|
||||||
|
clear_oneshot_mods();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NO_ACTION_TAPPING
|
#ifndef NO_ACTION_TAPPING
|
||||||
|
|
Loading…
Reference in a new issue