Skip to content

fix: incorrect value returned by Duration()#150

Merged
elgopher merged 1 commit intomasterfrom
double-press-fix
Jul 18, 2025
Merged

fix: incorrect value returned by Duration()#150
elgopher merged 1 commit intomasterfrom
double-press-fix

Conversation

@elgopher
Copy link
Owner

pipad.Duration(), pikey.Duration(), pimouse.Duration() reports "1" when input was pressed in the last frame and released in the current one.

pipad.Duration(), pikey.Duration(), pimouse.Duration() reports "1" when input was pressed in the last frame and released in the current one. It should return 0 in such case.
@elgopher elgopher merged commit 434b3d6 into master Jul 18, 2025
1 check passed
@elgopher elgopher deleted the double-press-fix branch July 18, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant