- isButtonDown
bool isButtonDown(JoystickButton button)
* Returns true if joystick button was just pressed in an event loop.
- isButtonHold
bool isButtonHold(JoystickButton button)
* Returns true if joystick button is still pressed in an event loop.
* Use case: shooting something.
- isButtonNone
bool isButtonNone(JoystickButton button)
* Returns true if joystick button has no input action in an event loop.
- isButtonUp
bool isButtonUp(JoystickButton button)
* Returns true if joystick button was just released in an event loop.
- isConnected
bool isConnected()
* Returns true if joystick is connected.
- isUnfolding
bool isUnfolding(JoystickButton button, JoystickAction action)
- processButtons
Joystick processButtons()
Undocumented in source. Be warned that the author may not have intended to support it.
- setConnected
Joystick setConnected(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
*