Setvirtualresolution(640,480)
ResetTimer()
AddVirtualJoystick(1,500,350,100)
SetVirtualJoystickDeadZone(0.5)
Do
Print ("JoyStick X: "+Str(GetVirtualJoystickX(1),2))
Print ("JoyStick Y: "+Str(GetVirtualJoystickY(1),2))
Sync()
If Timer()>25 Then Exit
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)