fix(retro-tap-binding): fix incompatibility between hold-while-undecided and retro-tap

This commit is contained in:
Nick Conway 2025-06-19 20:43:50 -04:00
parent a7ab7bad9e
commit 722189718f
No known key found for this signature in database
GPG Key ID: AA850592E4C1D453
1 changed files with 4 additions and 0 deletions

View File

@ -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 {