add on_right_pressed
redstoneleo opened this issue · comments
def on_right_pressed(callback, args=()):
""" Invokes `callback` with `args` when the right button is pressed. """
return on_button(callback, args, [RIGHT], [DOWN])
Hook and simulate global mouse events in pure Python
redstoneleo opened this issue · comments
def on_right_pressed(callback, args=()):
""" Invokes `callback` with `args` when the right button is pressed. """
return on_button(callback, args, [RIGHT], [DOWN])