public abstract class PS4GamePad extends java.lang.Object implements GamePadListener, org.mini2Dx.gdx.utils.Disposable
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ID |
Constructor and Description |
---|
PS4GamePad(GamePad gamePad) |
PS4GamePad(GamePad gamePad,
DeadZone leftStickDeadZone,
DeadZone rightStickDeadZone) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onAccelerometerChanged, onAxisChanged, onButtonDown, onButtonUp, onConnect, onDisconnect, onPovChanged
public PS4GamePad(GamePad gamePad)
protected boolean notifyConnected()
protected boolean notifyDisconnected()
protected boolean notifyButtonDown(PS4Button button)
protected boolean notifyButtonUp(PS4Button button)
protected boolean notifyLeftStickXMoved(float value)
protected boolean notifyLeftStickYMoved(float value)
protected boolean notifyRightStickXMoved(float value)
protected boolean notifyRightStickYMoved(float value)
protected boolean notifyL2Moved(float value)
protected boolean notifyR2Moved(float value)
public void addListener(PS4GamePadListener listener)
public void removeListener(PS4GamePadListener listener)
public void clearListeners()
public int getTotalListeners()
public void dispose()
dispose
in interface org.mini2Dx.gdx.utils.Disposable
public DeadZone getLeftStickDeadZone()
public void setLeftStickDeadZone(DeadZone leftStickDeadZone)
public DeadZone getRightStickDeadZone()
public void setRightStickDeadZone(DeadZone rightStickDeadZone)
public DeadZone getL2DeadZone()
public void setL2DeadZone(DeadZone l2DeadZone)
public DeadZone getR2DeadZone()
public void setR2DeadZone(DeadZone r2DeadZone)