import mouse # left click mouse.click('left') # right click mouse.click('right') # middle click mouse.click('middle')
# drag from (0, 0) to (100, 100) relatively with a duration of 0.1s mouse.drag(0, 0, 100, 100, absolute=False, duration=0.1)