boppreh / mouse

Hook and simulate global mouse events in pure Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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])