XIM Community

SCRIPT HELP. HOW DO WE SIMULATE SMOOTH TURNS?  (Read 94 times)

Offline jackal_329

  • Member
  • *
  • Posts: 76
    • View Profile
SCRIPT HELP. HOW DO WE SIMULATE SMOOTH TURNS?
« on: 11:11 AM - 07/12/18 »
.
How do we simulate smooth turns?

I'm trying to simulate the right joystick (on the controller) being moved but the following code ends up being jerky.

Code: [Select]
MouseMove, 400, 0, 50, r
and countless variations of the 400 and 50 number without luck.
https://www.autohotkey.com/docs/commands/MouseMove.htm

and also
Code: [Select]
Loop, 5000
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 1, "UInt", 0)
}
https://www.autohotkey.com/docs/commands/DllCall.htm

But again, the in-game mouse movement is all jerky and all over the place. I've searched the forums and can't find a thing.I am using xim4 with SandhawC at 125Hz polling rate.

. Thanks.