AndroidJoystickState class
Information about Android joystick state.
Public static variables
- static const int MaxVibrators
- Maximum number of vibrators, supporting no more than a left and a right one.
Constructors, destructors, conversion operators
Public functions
- auto isButtonPressed(int buttonId) const -> bool override
- Returns
trueif the specified button is pressed. - auto hatState(int hatId) const -> unsigned char override
- Returns the state of the specified hat.
- auto axisValue(int axisId) const -> float override
- Returns the value of the specified axis, normalized between -1.0 and 1.0.