CGDisplayMoveCursorToPoint() ?
Posted: Wed Jul 26, 2017 12:08 pm
Why does it set my mouse to the upper left corner and not as aspected to position 500?
Code: Select all
ImportC ""
; CGDisplayMoveCursorToPoint(display.l, *point.CGPoint)
CGDisplayMoveCursorToPoint(display.l, x.f, y.f)
CGMainDisplayID()
EndImport
position.CGPoint
position\x = 500
position\Y = 500
; CGDisplayMoveCursorToPoint(CGMainDisplayID(), @position)
CGDisplayMoveCursorToPoint(CGMainDisplayID(), 500, 500)