def click(button=LEFT): """ Sends a click with the given button. """ os_mouse.press(button) os_mouse.release(button)
def press(button=LEFT): """ Presses the given button (but doesn't release). """ os_mouse.press(button)