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

Fix time.sleep without movement #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

simoschip2000
Copy link

@simoschip2000 simoschip2000 commented Jan 24, 2023

I had the problem that there was a time.sleep in the output script, even though the mouse was not moved. I moved the check, if there is enough mouse movement to the on_move function. Like this it should be cleaner (no need to seperate the parameters string) and there is only a sleep if the mouse is really moving :)

I had the problem that there was a time.sleep in the output script, even though the mouse was not moved. 
I moved the check, if there is enough mouse movement to the on_move function. Like this it should be cleaner and there is only a sleep if the mouse is really moving :)
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

Successfully merging this pull request may close these issues.

None yet

1 participant