static void init()
Initializes the joystick subsystem.
bool isCalibrating() const
void update()
Updates the direction and button information.
bool mButtons[MAX_BUTTONS]
static int getNumberOfJoysticks()
Returns the number of available joysticks.
void setEnabled(bool enabled)
bool buttonPressed(unsigned char no) const