mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 08:24:11 +00:00
smoother mouse movement
This commit is contained in:
parent
0d1828505b
commit
cff4e102c6
@ -30,7 +30,7 @@ func Start() (quit chan struct{}) {
|
||||
MouseX: currentMousePos.MouseX + movePixel,
|
||||
MouseY: currentMousePos.MouseY + movePixel,
|
||||
}
|
||||
robotgo.Move(nextMouseMov.MouseX, nextMouseMov.MouseY)
|
||||
robotgo.MoveMouseSmooth(nextMouseMov.MouseX, nextMouseMov.MouseY)
|
||||
movePixel *= -1
|
||||
}
|
||||
case <-quit:
|
||||
|
Loading…
Reference in New Issue
Block a user