ArcBasicDocs

WaitJoy

Waits for a joystick button.

WaitJoy ( [port] )

Parameters

port (optional)
which controller, counting from 0.

Description

Waits until a joystick button is pressed, then gives back its number.

See also