Thanks! That did the trick.
Maybe instead of this:
Code:
# type: the type of event the button sends. If type is 0,
# pressing the button sends a button down signal and
# releasing it sends a release signal. If type = 1, clicking
# the button send both press and release signals simultaneously.
# This usually necessary for mouse wheel events.
You could say this:
Code:
# type: the type of event the button sends.
# (Preset for your specific mouse buttons.)
# If pressing the button sends a button press signal and
# releasing it sends a release signal, the type is 0.
# If pressing the button sends both press and release signals
# simultaneously, the type is 1.
# -This is usually necessary for mouse wheel events.
Since the type is dependent on the button events, and not the other way around.
Bookmarks