-
Notifications
You must be signed in to change notification settings - Fork 136
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
mouse.on_double_click not working #3
Comments
It seems Windows is not reporting double click events when a global event hook is registered. I couldn't find a way to get these events reported, so it probably needs processing the left clicks and checking for interval. Note to self: the maximum interval to be considered a double click is available via the Thanks for the report. I'm extremely busy at the moment, but I'll take a look when I can. Feel free to work on it too. |
I modified
So far this works as intented and generates What do you think of this solution? |
Thank you, that works great. It's added by commit bc8d989 . |
Hi,
I have the issue where callback passed to
mouse.on_double_click
isn't invoked.I took a quick peek and it seems that
handler
method defined inmouse.on_button
gets called twice successively. EachButtonEvent
passed to the handler hasbutton = 'left'
andevent_type = 'down'
members, instead ofbutton = 'left'
andevent_type = 'double'
which thehandler
checks for.This is the code I'm talking about.
I'm a little busy at the moment, but if I find time I'll make an attempt at fixing this.
The text was updated successfully, but these errors were encountered: