-
Notifications
You must be signed in to change notification settings - Fork 66
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
Stuck Keys #33
Comments
Finally I found the cause of it and a fix for it.
This likely happens because both up and down events happen roughly at the same time and AHI handles these events in the wrong order. I guess that thread pooling and calling is responsible for it. You could also say that the keyboard key repeat function is the culprit. Therefore the solution is to fire the down event only if the tickcount of the up and down event is different.
|
@evilC Am I doing something wrong. Or is there a simpler way to fix this? Or have you even already fixed it in a newer release? |
Yes, the thread pooling is a matter of concern for me too |
I made a test release: https://github.com/evilC/AutoHotInterception/releases/tag/v0.4.0 |
Thank you so much! |
Hmm, strange. There were quite a lot of other changes and fixes in there - I did actually put some fixes in there for extended chars, it was maybe that... |
0.4.1 works fine! Interestingly the first thing I noticed with both new versions is the responsiveness. Typing feels so much smoother now. Before it also had a noticable delay. Don't know why and also don't need to know, but this is a huge improvement for me. #bug: sending RShift instantly kills my script. |
If this is persisting, can you raise another issue please? |
I have remapped all modifier keys with AHI, for instance Alt is Ctrl now. But too often I get stuck keys, pressumably when pressing multiple modifier keys at the same time.
Could it be that AHI's ability to block inputs is causing this? E.g. when a key is physically released while the input is blocked.
The text was updated successfully, but these errors were encountered: