Commit 80e6b69e authored by Vitezslav Humpa's avatar Vitezslav Humpa
Browse files

rawinput: a standalone point(x,y) function added to rawinut

parent 19a66bb4
Pipeline #8278741 failed with stages
in 28 minutes and 16 seconds
......@@ -41,6 +41,14 @@ def click(x, y, button=1, check=True):
doDelay(config.actionDelay)
def point(x, y, check=True):
if check:
checkCoordinates(x, y)
logger.log("Pointing mouse cursor at (%s,%s)" % (x, y))
registry.generateMouseEvent(x, y, 'abs')
doDelay(config.actionDelay)
def doubleClick(x, y, button=1, check=True):
"""
Synthesize a mouse button double-click at (x,y)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment