public abstract class SwitchDualJoyConGamePad extends java.lang.Object implements GamePadListener, org.mini2Dx.gdx.utils.Disposable
Constructor and Description |
---|
SwitchDualJoyConGamePad(GamePad gamePad) |
SwitchDualJoyConGamePad(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 SwitchDualJoyConGamePad(GamePad gamePad)
protected boolean notifyConnected()
protected boolean notifyDisconnected()
protected boolean notifyButtonDown(SwitchDualJoyConButton button)
protected boolean notifyButtonUp(SwitchDualJoyConButton button)
protected boolean notifyLeftStickXMoved(float value)
protected boolean notifyLeftStickYMoved(float value)
protected boolean notifyRightStickXMoved(float value)
protected boolean notifyRightStickYMoved(float value)
protected boolean notifyZLMoved(float value)
protected boolean notifyZRMoved(float value)
public void addListener(SwitchDualJoyConGamePadListener listener)
public void removeListener(SwitchDualJoyConGamePadListener 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 getZLDeadZone()
public void setZLDeadZone(DeadZone zlDeadZone)
public DeadZone getZRDeadZone()
public void setZRDeadZone(DeadZone zrDeadZone)