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

Multiple events on long press. #107

Open
zakstucke opened this issue May 22, 2024 · 0 comments
Open

Multiple events on long press. #107

zakstucke opened this issue May 22, 2024 · 0 comments
Assignees

Comments

@zakstucke
Copy link
Contributor

zakstucke commented May 22, 2024

I don't think this was the case in prior versions, or at least I didn't notice it.

When long pressing keys, matching bindings fire their callbacks 10s of times a second. I've had to implement throttling on the code being run by the hotkeys internally to work around.

Either as default, or an option, long presses should not trigger the callback again until release and re-press.

@friendlymatthew friendlymatthew self-assigned this Jun 18, 2024
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

No branches or pull requests

2 participants