Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 559 Bytes

readme.md

File metadata and controls

19 lines (13 loc) · 559 Bytes

This is a libray meant to simplifiy the process of measuring the mouse. This labrary requires the module mouse (pip install mouse). Documentation is as follows:

getMouseX()

Finds the mouse's X coordinate and returns it as an integer.

getMouseY()

Finds the mouse's Y coordinate and returns it as an integer.

getMouseCoords()

Finds both mouse and returns them as a string (x, y)

waitForActivity()

Stops thread until mouse movement is detected

gotoOrigin()

Moves mouse to the origin of screen 1

goto()

Moves mouse to specified coordinate