public class LibgdxPS4GamePad extends PS4GamePad
gamePad, ID, l2, l2DeadZone, leftStickDeadZone, listeners, r2, r2DeadZone, rightStickDeadZone| Constructor and Description |
|---|
LibgdxPS4GamePad(GamePad gamePad) |
LibgdxPS4GamePad(GamePad gamePad,
DeadZone leftStickDeadZone,
DeadZone rightStickDeadZone) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isButtonDown(PS4Button button) |
boolean |
isButtonUp(PS4Button button) |
void |
onAccelerometerChanged(GamePad gamePad,
int accelerometerCode,
org.mini2Dx.gdx.math.Vector3 value) |
void |
onAxisChanged(GamePad gamePad,
int axisCode,
float axisValue) |
void |
onButtonDown(GamePad gamePad,
int buttonCode) |
void |
onButtonUp(GamePad gamePad,
int buttonCode) |
void |
onConnect(GamePad gamePad) |
void |
onDisconnect(GamePad gamePad) |
addListener, addListener, clearListeners, dispose, getInstanceId, getL2DeadZone, getLeftStickDeadZone, getModelInfo, getPlayerIndex, getR2DeadZone, getRightStickDeadZone, getTotalListeners, getVibrationStrength, isConnected, isPlayerIndicesSupported, isVibrateSupported, isVibrating, notifyButtonDown, notifyButtonUp, notifyConnected, notifyDisconnected, notifyL2Moved, notifyLeftStickXMoved, notifyLeftStickYMoved, notifyR2Moved, notifyRightStickXMoved, notifyRightStickYMoved, removeListener, removeListener, setL2DeadZone, setLeftStickDeadZone, setPlayerIndex, setR2DeadZone, setRightStickDeadZone, startVibration, stopVibrationpublic LibgdxPS4GamePad(GamePad gamePad)
public boolean isButtonDown(PS4Button button)
isButtonDown in class PS4GamePadpublic boolean isButtonUp(PS4Button button)
isButtonUp in class PS4GamePadpublic void onConnect(GamePad gamePad)
public void onDisconnect(GamePad gamePad)
public void onButtonDown(GamePad gamePad, int buttonCode)
public void onButtonUp(GamePad gamePad, int buttonCode)
public void onAxisChanged(GamePad gamePad, int axisCode, float axisValue)
public void onAccelerometerChanged(GamePad gamePad, int accelerometerCode, org.mini2Dx.gdx.math.Vector3 value)