ArcBasicDocs

JoyX

Joystick X axis (-1 to 1).

JoyX ( [port] )

Parameters

port (optional)
which controller, counting from 0.

Description

Gives back how far the left stick is pushed across, from -1 (fully left) to 1 (fully right), and 0 in the middle.

See also