public class LinuxPS3Controller extends PS3Controller
ID_FULL, ID_PREFIX, ID_SUFFIX
Constructor and Description |
---|
LinuxPS3Controller(com.badlogic.gdx.controllers.Controller controller) |
LinuxPS3Controller(com.badlogic.gdx.controllers.Controller controller,
DeadZone leftStickDeadZone,
DeadZone rightStickDeadZone) |
Modifier and Type | Method and Description |
---|---|
boolean |
accelerometerMoved(com.badlogic.gdx.controllers.Controller controller,
int accelerometerCode,
com.badlogic.gdx.math.Vector3 value) |
boolean |
axisMoved(com.badlogic.gdx.controllers.Controller controller,
int axisCode,
float value) |
boolean |
buttonDown(com.badlogic.gdx.controllers.Controller controller,
int buttonCode) |
boolean |
buttonUp(com.badlogic.gdx.controllers.Controller controller,
int buttonCode) |
void |
connected(com.badlogic.gdx.controllers.Controller controller) |
void |
disconnected(com.badlogic.gdx.controllers.Controller controller) |
boolean |
povMoved(com.badlogic.gdx.controllers.Controller controller,
int povCode,
com.badlogic.gdx.controllers.PovDirection value) |
boolean |
xSliderMoved(com.badlogic.gdx.controllers.Controller controller,
int sliderCode,
boolean value) |
boolean |
ySliderMoved(com.badlogic.gdx.controllers.Controller controller,
int sliderCode,
boolean value) |
addListener, addListener, clearListeners, getControllerType, getLeftStickDeadZone, getListener, getRightStickDeadZone, getTotalListeners, notifyButtonDown, notifyButtonUp, notifyDisconnected, notifyLeftStickXMoved, notifyLeftStickYMoved, notifyRightStickXMoved, notifyRightStickYMoved, removeListener, removeListener, setLeftStickDeadZone, setRightStickDeadZone
public LinuxPS3Controller(com.badlogic.gdx.controllers.Controller controller)
public void connected(com.badlogic.gdx.controllers.Controller controller)
public void disconnected(com.badlogic.gdx.controllers.Controller controller)
public boolean buttonDown(com.badlogic.gdx.controllers.Controller controller, int buttonCode)
public boolean buttonUp(com.badlogic.gdx.controllers.Controller controller, int buttonCode)
public boolean axisMoved(com.badlogic.gdx.controllers.Controller controller, int axisCode, float value)
public boolean povMoved(com.badlogic.gdx.controllers.Controller controller, int povCode, com.badlogic.gdx.controllers.PovDirection value)
public boolean xSliderMoved(com.badlogic.gdx.controllers.Controller controller, int sliderCode, boolean value)
public boolean ySliderMoved(com.badlogic.gdx.controllers.Controller controller, int sliderCode, boolean value)
public boolean accelerometerMoved(com.badlogic.gdx.controllers.Controller controller, int accelerometerCode, com.badlogic.gdx.math.Vector3 value)