public class PS3ControllerAdapter extends java.lang.Object implements PS3ControllerListener
PS3ControllerListener
Constructor and Description |
---|
PS3ControllerAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
buttonDown(PS3Controller controller,
PS3Button button) |
boolean |
buttonUp(PS3Controller controller,
PS3Button button) |
void |
disconnected(PS3Controller controller) |
boolean |
leftStickXMoved(PS3Controller controller,
float value) |
boolean |
leftStickYMoved(PS3Controller controller,
float value) |
boolean |
rightStickXMoved(PS3Controller controller,
float value) |
boolean |
rightStickYMoved(PS3Controller controller,
float value) |
public void disconnected(PS3Controller controller)
disconnected
in interface PS3ControllerListener
public boolean buttonDown(PS3Controller controller, PS3Button button)
buttonDown
in interface PS3ControllerListener
public boolean buttonUp(PS3Controller controller, PS3Button button)
buttonUp
in interface PS3ControllerListener
public boolean leftStickXMoved(PS3Controller controller, float value)
leftStickXMoved
in interface PS3ControllerListener
public boolean leftStickYMoved(PS3Controller controller, float value)
leftStickYMoved
in interface PS3ControllerListener
public boolean rightStickXMoved(PS3Controller controller, float value)
rightStickXMoved
in interface PS3ControllerListener
public boolean rightStickYMoved(PS3Controller controller, float value)
rightStickYMoved
in interface PS3ControllerListener