>>> from rmm.mouse import Mouse
>>> mouse = Mouse(speed=1, mode=Mouse.Mode.TRACKPAD)
>>> x, y = 824, 365 # Destination coordinates
>>> mouse.move_to(x, y)
>>> mouse.left_click()
>>> mouse.right_click()
From the parent folder, install the library by entering the following command:
$ sudo python setup.py install
- numpy >= 1.13.3
- pyautogui
- mss (optional, but required in order to support multiple monitors)