ArcBasicDocs

JoyZDir

Joystick Z direction (-1, 0 or 1).

JoyZDir ( [port] )

Parameters

port (optional)
which controller, counting from 0.

Description

Gives back which trigger is pressed: 1 for the right, -1 for the left, or 0 if neither is pressed much.

See also