public class PS4ControllerAdapter extends java.lang.Object implements PS4ControllerListener
PS4ControllerListener
Constructor and Description |
---|
PS4ControllerAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
buttonDown(PS4Controller controller,
PS4Button button) |
boolean |
buttonUp(PS4Controller controller,
PS4Button button) |
void |
disconnected(PS4Controller controller) |
boolean |
l2Moved(PS4Controller controller,
float value) |
boolean |
leftStickXMoved(PS4Controller controller,
float value) |
boolean |
leftStickYMoved(PS4Controller controller,
float value) |
boolean |
r2Moved(PS4Controller controller,
float value) |
boolean |
rightStickXMoved(PS4Controller controller,
float value) |
boolean |
rightStickYMoved(PS4Controller controller,
float value) |
public void disconnected(PS4Controller controller)
disconnected
in interface PS4ControllerListener
public boolean buttonDown(PS4Controller controller, PS4Button button)
buttonDown
in interface PS4ControllerListener
public boolean buttonUp(PS4Controller controller, PS4Button button)
buttonUp
in interface PS4ControllerListener
public boolean leftStickXMoved(PS4Controller controller, float value)
leftStickXMoved
in interface PS4ControllerListener
public boolean leftStickYMoved(PS4Controller controller, float value)
leftStickYMoved
in interface PS4ControllerListener
public boolean rightStickXMoved(PS4Controller controller, float value)
rightStickXMoved
in interface PS4ControllerListener
public boolean rightStickYMoved(PS4Controller controller, float value)
rightStickYMoved
in interface PS4ControllerListener
public boolean l2Moved(PS4Controller controller, float value)
l2Moved
in interface PS4ControllerListener
public boolean r2Moved(PS4Controller controller, float value)
r2Moved
in interface PS4ControllerListener