ArcBasicDocs

GetJoy

Next joystick button pressed.

GetJoy ( [port] )

Parameters

port (optional)
which controller, counting from 0.

Description

Gives back the number of the next joystick button pressed, or 0 if none has been. It doesn't wait.

See also