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

Fix key stucks caused by (high) keystroke delays. #1028

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

kareltucek
Copy link
Collaborator

@kareltucek kareltucek commented Dec 14, 2024

Reproduction steps:

  • set keystrokeDelay to 60 (higher than debouncer)
  • try to type
  • observe stuck keys

This fixes the above and also refactors keystrokeDelay implementation so that the eventloop doesn't spin in the meantime.

Please don't merge yet. This needs a bit more thinking when I am fresh. However, feel free to start testing it.

@mondalaci
Copy link
Member

Should I test on a UHK 60 or 80?

@kareltucek
Copy link
Collaborator Author

Whichever you like. I think I used uhk 80 to reproduce the problem.

@mondalaci
Copy link
Member

I can easily reproduce the issue, and this PR fixes it. From now on, I'll test it on my UHK 60 v2.

@kareltucek kareltucek changed the title WIP: Fix key stucks caused by (high) keystroke delays. Fix key stucks caused by (high) keystroke delays. Dec 15, 2024
@kareltucek
Copy link
Collaborator Author

Well I don't have any new insights about this, so feel free to merge this.

@mondalaci mondalaci merged commit 9b07236 into master Dec 15, 2024
2 of 4 checks passed
@mondalaci mondalaci deleted the fix_keystroke_delay_issues branch December 15, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants