public abstract class SwitchJoyConLGamePad extends java.lang.Object implements GamePadListener, org.mini2Dx.gdx.utils.Disposable
| Constructor and Description |
|---|
SwitchJoyConLGamePad(GamePad gamePad) |
SwitchJoyConLGamePad(GamePad gamePad,
DeadZone leftStickDeadZone) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAccelerometerChanged, onAxisChanged, onButtonDown, onButtonUp, onConnect, onDisconnectpublic SwitchJoyConLGamePad(GamePad gamePad)
public abstract boolean isButtonDown(SwitchJoyConLButton button)
public abstract boolean isButtonUp(SwitchJoyConLButton button)
protected boolean notifyConnected()
protected boolean notifyDisconnected()
protected boolean notifyButtonDown(SwitchJoyConLButton button)
protected boolean notifyButtonUp(SwitchJoyConLButton button)
protected boolean notifyLeftStickXMoved(float value)
protected boolean notifyLeftStickYMoved(float value)
protected boolean notifyZLMoved(float value)
public void addListener(SwitchJoyConLGamePadListener listener)
public void removeListener(SwitchJoyConLGamePadListener 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 getZLDeadZone()
public void setZLDeadZone(DeadZone zlDeadZone)
public boolean isConnected()
public java.lang.String getInstanceId()
public java.lang.String getModelInfo()
public boolean isPlayerIndicesSupported()
public int getPlayerIndex()
public void setPlayerIndex(int playerIndex)
public boolean isVibrateSupported()
public boolean isVibrating()
public float getVibrationStrength()
public void startVibration(float strength)
public void stopVibration()