public abstract class XboxGamePad 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 |
|---|
XboxGamePad(GamePad gamePad) |
XboxGamePad(GamePad gamePad,
DeadZone leftStickDeadZone,
DeadZone rightStickDeadZone) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAccelerometerChanged, onAxisChanged, onButtonDown, onButtonUp, onConnect, onDisconnect, onPovChangedpublic XboxGamePad(GamePad gamePad)
protected boolean notifyConnected()
protected boolean notifyDisconnected()
protected boolean notifyButtonDown(XboxButton button)
protected boolean notifyButtonUp(XboxButton button)
protected boolean notifyLeftTriggerMoved(float value)
protected boolean notifyRightTriggerMoved(float value)
protected boolean notifyLeftStickXMoved(float value)
protected boolean notifyLeftStickYMoved(float value)
protected boolean notifyRightStickXMoved(float value)
protected boolean notifyRightStickYMoved(float value)
public void addListener(XboxGamePadListener listener)
public void removeListener(XboxGamePadListener listener)
public void clearListeners()
public int getTotalListeners()
public void dispose()
dispose in interface org.mini2Dx.gdx.utils.Disposablepublic DeadZone getLeftStickDeadZone()
public void setLeftStickDeadZone(DeadZone leftStickDeadZone)
public DeadZone getRightStickDeadZone()
public void setRightStickDeadZone(DeadZone rightStickDeadZone)
public DeadZone getLeftTriggerDeadZone()
public void setLeftTriggerDeadZone(DeadZone leftTriggerDeadZone)
public DeadZone getRightTriggerDeadZone()
public void setRightTriggerDeadZone(DeadZone rightTriggerDeadZone)