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

Exits when I move the mouse #3

Open
ksharindam opened this issue Oct 11, 2017 · 0 comments
Open

Exits when I move the mouse #3

ksharindam opened this issue Oct 11, 2017 · 0 comments

Comments

@ksharindam
Copy link

This works when it's run first time after boot, But after exiting by mouse click, second time and onwards it doesnot work. It opens correctly until I move the mouse, but when I move the mouse it exits immidiately.
The problem is in pymouse.py file, under MouseThread class and run function
line no. 24 to 26

            if buttons&3:
                self.finished=True
                break  # Stop if mouse button pressed!

Following the first time it assumes that mouse is clicked. So it exits immidiately when i move the mouse.

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

1 participant