Possibly sleep after mouse/key events.
octalmage opened this issue · 2 comments
octalmage commented
Apparently on some machines a delay is needed after a mouse move or click before the next action will work. This is probably an OS limitation.
Since this is in C I can use usleep, I just need to find what the limitation is. 2 miliseconds works on Mac.
octalmage commented
This delay should be configurable, like AutoHotkey's SetMouseDelay.
octalmage commented
I added a 10 miliseconds delay to the mouse events and the mouse tests now pass 95% of the time.