Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debounce repeated keypresses on hold #308

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brenopacheco
Copy link

This resolves #156 #298 by discarding keypress events that happen a very small amount of time after a keyrelease event is received the same (debounce_ms).

I know this solution is not optimal.

Tested with -d 10 and it seems to work fine, though it does not work with something like

alt + Return
alt + @Return

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.

Any way to prevent repeating commands?
1 participant