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

Possibly sleep after mouse/key events. #14

Closed
octalmage opened this issue Feb 19, 2015 · 2 comments · Fixed by #29
Closed

Possibly sleep after mouse/key events. #14

octalmage opened this issue Feb 19, 2015 · 2 comments · Fixed by #29
Labels

Comments

@octalmage
Copy link
Owner

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
Copy link
Owner Author

This delay should be configurable, like AutoHotkey's SetMouseDelay.

@octalmage
Copy link
Owner Author

I added a 10 miliseconds delay to the mouse events and the mouse tests now pass 95% of the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant