-
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
Dramatic time increase for Subscribing to keys on newer version #98
Comments
Can you upload your ported AHI to v2? And one of your scripts using it, assigning hotkeys to keyboard keys? I'm trying to get into using AHI and would like a better example than what has been provided on this Github page. |
https://cdn.discordapp.com/attachments/195652955662319636/1074391409425141830/AutoHotInterception.ahk (0.5.2) Holding down a key will keep sending multiple calls similar to Windows default "Hold key to spam it" functionality, so this is what I do to avoid that (per function):
|
I have an initial branch of AHI for AHK v2 here |
Issue persists. Also, unsure why, but switching to it also randomly crashes two games I've tried while using it? |
I have the same issue. Latest AHI version v0.9.1 with AHKv1. |
Hey, I just switched on to moving my AutoHotInterception scripts to v2, so figured I'd get the latest version too.
I repeatedly Subscribe and Unsubscribe depending on if a condition is met, and upon finishing transition to the latest version, I realized that Subscribing multiple keys in a row is taking ages.
At first I figured I had probably ported AHI to v2 incorrectly somehow, so I went back to v1 and tried the latest version there.
Exact same issue.
To further detail what happens:
Once subscriptions have been done (logging the functions in AHK, it seemingly goes very fast), pressing any of the subscribed keys won't do anything for a while (as extreme as 10 subscriptions taking like 10 seconds?).
Until suddenly, all the keystrokes appear to be processed at the same time, creating a huge spam.
Afterwards it works as normal, until it's time to re-subscribe.
Old version I was on (0.5.0), there wasn't really any noticeable lag after subscribing, it felt instant.
And I haven't tried any version in-between until latest (0.8.0), so couldn't really say when the problem was introduced.
The text was updated successfully, but these errors were encountered: