mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-18 05:32:05 +00:00
reset one shots when held
This commit is contained in:
parent
3fbb770de3
commit
e9d8d7734d
@ -466,6 +466,8 @@ void process_action(keyrecord_t *record, action_t action) {
|
||||
// Not a tap, but a hold: register the held mod
|
||||
ac_dprintf("MODS_TAP: Oneshot: 0\n");
|
||||
register_mods(mods);
|
||||
del_oneshot_mods(mods);
|
||||
del_oneshot_locked_mods(mods);
|
||||
} else if (tap_count == 1) {
|
||||
ac_dprintf("MODS_TAP: Oneshot: start\n");
|
||||
add_oneshot_mods(mods);
|
||||
|
Loading…
Reference in New Issue
Block a user