Closed qria closed 8 years ago
Note that the project has moved to an organisation.I think that the issue is that some implementations use threads to listen to events, and as far as I know threads can not be restarted. I'll verify this later.
Oh should I repost there? Or maybe wait for you to verify it?
See? https://github.com/PyUserInput/PyUserInput/blob/master/pymouse/base.py#L107 So definitely a wontfix.
Currently if you run an instance of
PyMouseEvent
after it is stopped once, it will immediately stop itself becauseself.state
is set toFalse
.I wanted to reuse some of my
PyMouseEvent
classes so I simply addedself.state=True
inself.run()
.I see no reason for this to not be a default behavior.
Here is a simple usecase/code for this.