JoystickUpdate

Members

Functions

axisChange
short axisChange(Axis axis)

this is normalized down to a 16 step change and ignores a dead zone near the middle

axisPosition
short axisPosition(Axis axis, short digitalFallbackValue)

Note: UP is negative! Value will actually be -16 to 16 ish.

buttonIsPressed
bool buttonIsPressed(Button button)

current state

buttonWasJustPressed
bool buttonWasJustPressed(Button button)
buttonWasJustReleased
bool buttonWasJustReleased(Button button)

changes from last update

Variables

player
int player;

Meta