public class XboxOneControllerAdapter extends java.lang.Object implements XboxOneControllerListener
XboxOneControllerListener
Constructor and Description |
---|
XboxOneControllerAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
buttonDown(XboxOneController controller,
XboxOneButton button) |
boolean |
buttonUp(XboxOneController controller,
XboxOneButton button) |
void |
disconnected(XboxOneController controller) |
boolean |
leftStickXMoved(XboxOneController controller,
float value) |
boolean |
leftStickYMoved(XboxOneController controller,
float value) |
boolean |
leftTriggerMoved(XboxOneController controller,
float value) |
boolean |
rightStickXMoved(XboxOneController controller,
float value) |
boolean |
rightStickYMoved(XboxOneController controller,
float value) |
boolean |
rightTriggerMoved(XboxOneController controller,
float value) |
public void disconnected(XboxOneController controller)
disconnected
in interface XboxOneControllerListener
public boolean buttonDown(XboxOneController controller, XboxOneButton button)
buttonDown
in interface XboxOneControllerListener
public boolean buttonUp(XboxOneController controller, XboxOneButton button)
buttonUp
in interface XboxOneControllerListener
public boolean leftTriggerMoved(XboxOneController controller, float value)
leftTriggerMoved
in interface XboxOneControllerListener
public boolean rightTriggerMoved(XboxOneController controller, float value)
rightTriggerMoved
in interface XboxOneControllerListener
public boolean leftStickXMoved(XboxOneController controller, float value)
leftStickXMoved
in interface XboxOneControllerListener
public boolean leftStickYMoved(XboxOneController controller, float value)
leftStickYMoved
in interface XboxOneControllerListener
public boolean rightStickXMoved(XboxOneController controller, float value)
rightStickXMoved
in interface XboxOneControllerListener
public boolean rightStickYMoved(XboxOneController controller, float value)
rightStickYMoved
in interface XboxOneControllerListener