ArcBasicDocs

JoyZ

Joystick Z axis.

JoyZ ( [port] )

Parameters

port (optional)
which controller, counting from 0.

Description

Gives back the triggers: from 0 with both released, up to 1 for the right trigger and down to -1 for the left.

See also