- bindButton
void bindButton(int button, Key key)
- bindButton
void bindButton(int button, ControllerButton controllerButton)
- bindController
void bindController(int index)
- bindInput
void bindInput(Input input)
Must be called before using any other method
- bindStick
void bindStick(int stick, Key up, Key left, Key down, Key right)
Simulates a joystick using four keys
- bindStick
void bindStick(int stick, ThumbStick joystick)
- buttonJustPressed
bool buttonJustPressed(int button)
- getStick
Vector2 getStick(int stick)
- isButtonDown
bool isButtonDown(int button)
- isButtonUp
bool isButtonUp(int button)
Allows representation of input from multiple sources in a uniform way