smoother mouse movement

This commit is contained in:
Prashant Gupta 2019-03-14 17:01:49 -07:00
parent 0d1828505b
commit cff4e102c6

View File

@ -30,7 +30,7 @@ func Start() (quit chan struct{}) {
MouseX: currentMousePos.MouseX + movePixel, MouseX: currentMousePos.MouseX + movePixel,
MouseY: currentMousePos.MouseY + movePixel, MouseY: currentMousePos.MouseY + movePixel,
} }
robotgo.Move(nextMouseMov.MouseX, nextMouseMov.MouseY) robotgo.MoveMouseSmooth(nextMouseMov.MouseX, nextMouseMov.MouseY)
movePixel *= -1 movePixel *= -1
} }
case <-quit: case <-quit: