muy cool, try swapping moveAmount to values greater than 1 and see if it moves more or the same and if more then see what's the upper boundary since I'm guessing some distance from center is translated as 'force' of 1 and -1 while distances between center and max distance are weighted with some value.
After the bounds are found, we'll need to figure out the max 'polling rate' and then it could/should be solved mostly.
Another test would be to run this, and see at which value exactly it's done a 360 spin and commenting the first loop and uncommenting the next to see the same for 180 degrees on yaxis
Code:
loop { ;360 spin on x-axis
x := 1
dllcall("mouse_event", uint, 1, int, x, int, 0, uint, 0, int, 0)
sleep, 30
tooltip % a_index
}
;~ loop { ;180 spin on y-axis, from facing looking down/ground to looking at sky/roof
;~ y := 1
;~ dllcall("mouse_event", uint, 1, int, 0, int, y, uint, 0, int, 0)
;~ sleep, 30
;~ tooltip % a_index
;~ }