From 722189718ffcd588ac93adf521591a5bde1d922f Mon Sep 17 00:00:00 2001 From: Nick Conway Date: Thu, 19 Jun 2025 20:43:50 -0400 Subject: [PATCH] fix(retro-tap-binding): fix incompatibility between hold-while-undecided and retro-tap --- app/src/behaviors/behavior_hold_tap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/behaviors/behavior_hold_tap.c b/app/src/behaviors/behavior_hold_tap.c index 9a316e1fc..853460a62 100644 --- a/app/src/behaviors/behavior_hold_tap.c +++ b/app/src/behaviors/behavior_hold_tap.c @@ -525,6 +525,10 @@ static int release_binding(struct active_hold_tap *hold_tap) { if (hold_tap->status == STATUS_HOLD_TIMER || hold_tap->status == STATUS_HOLD_INTERRUPT) { return release_hold_binding(hold_tap); } else if (hold_tap->status == STATUS_RETRO_TAP) { + if (hold_tap->config->hold_while_undecided) { + release_hold_binding(hold_tap); + } + press_retro_tap_binding(hold_tap); return release_retro_tap_binding(hold_tap); } else {