ArcBasicDocs

JoyDown

True while a joystick button is held.

JoyDown ( button[,port] )

Parameters

button
the button's number, counting from 1.
port (optional)
which controller, counting from 0.

Description

Tells you whether a joystick button is being held down: 1 if it is, 0 if not.

See also