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

Typed keys are output in wrong order when computer is busy #60

Open
philtherobot opened this issue Apr 5, 2023 · 3 comments
Open

Typed keys are output in wrong order when computer is busy #60

philtherobot opened this issue Apr 5, 2023 · 3 comments

Comments

@philtherobot
Copy link

When my computer is under heavy load, sometimes typing the letters "t" "h" "i" and "s" (in this order) will get printed as "s" "i" "h" and "t", in this exact reversed order.

"Heavy load" means a large program compilation job with multiple processes totaling more threads than there are actual cores. The computer is generally usable, other programs will load, Teams and Chrome work, but a bit sluggish. So "heavy" but not "excessive" to the point the computer is locked up.

I suspect AutoHotKey has an internal queue that it does not necessarily process in FIFO order. But I know nothing about the implementation, still it is a way to describe what's happening.

@DreymaR
Copy link
Owner

DreymaR commented Apr 11, 2023

If you're using one of the latest commits (or the latest release), there should be no queueing save the system hotkey queue itself. Are you using a key mapped (VK or SC) or a state mapped (e.g., eD) layout?

@philtherobot
Copy link
Author

I have a copy of the repo I made on January 25th, compiled it, and this is my layout:

[pkl]
layout = QWERTY\QWE-eD_ANS:QWERTY-eD (ANS) 		; Generated by the EPKL LayoutPicker UI, 2023-01-25_10-02

@DreymaR
Copy link
Owner

DreymaR commented Apr 14, 2023

Unless you need the AltGr mappings, use a VK/SC (or eD2VK) layout instead. It might help a little.

You aren't using any other scripts that use a low-level keyboard hook (AHK or otherwise), are you?

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