reset one shots when held

This commit is contained in:
Jari Meevis 2025-03-01 02:01:28 +01:00
parent 3fbb770de3
commit e9d8d7734d
No known key found for this signature in database

View File

@ -466,6 +466,8 @@ void process_action(keyrecord_t *record, action_t action) {
// Not a tap, but a hold: register the held mod // Not a tap, but a hold: register the held mod
ac_dprintf("MODS_TAP: Oneshot: 0\n"); ac_dprintf("MODS_TAP: Oneshot: 0\n");
register_mods(mods); register_mods(mods);
del_oneshot_mods(mods);
del_oneshot_locked_mods(mods);
} else if (tap_count == 1) { } else if (tap_count == 1) {
ac_dprintf("MODS_TAP: Oneshot: start\n"); ac_dprintf("MODS_TAP: Oneshot: start\n");
add_oneshot_mods(mods); add_oneshot_mods(mods);