Joystick

The global "joystick" is non-nil when a working joystick is attached to the computer. If more than one joystick is installed, the first one to be enumerated will be used. References to the all joystick devices are stored in the global table "joysticks".

Predefined Buttons

JBUTTON_1
JBUTTON_2
JBUTTON_3
JBUTTON_4
JBUTTON_5
JBUTTON_6
JBUTTON_7
JBUTTON_8
JBUTTON_9
JBUTTON_10
JBUTTON_11
JBUTTON_12
JBUTTON_13
JBUTTON_14
JBUTTON_15
JBUTTON_16
JDPAD_NORTH
JDPAD_EAST
JDPAD_SOUTH
JDPAD_WEST