From e9d8d7734dfe274c0e1500e50e7537c24c53c1ea Mon Sep 17 00:00:00 2001 From: Jari Meevis Date: Sat, 1 Mar 2025 02:01:28 +0100 Subject: [PATCH] reset one shots when held --- quantum/action.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quantum/action.c b/quantum/action.c index be85192d25a..d76012226be 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -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);