forked from Clones/Controlify
compound joysticks, button guide in screens, improve API
This commit is contained in:
@ -43,6 +43,11 @@ public class GamepadController extends AbstractController<GamepadState, GamepadC
|
||||
state = new GamepadState(axesState, rawAxesState, buttonState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearState() {
|
||||
state = GamepadState.EMPTY;
|
||||
}
|
||||
|
||||
public void consumeButtonState() {
|
||||
this.state = new GamepadState(state().gamepadAxes(), state().rawGamepadAxes(), GamepadState.ButtonState.EMPTY);
|
||||
}
|
||||
|
Reference in New Issue
Block a user