public abstract class SwitchJoyConLGamePad extends java.lang.Object implements GamePadMapping<SwitchJoyConLGamePadListener>, org.mini2Dx.gdx.utils.Disposable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ID |
| 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)
addListener in interface GamePadMapping<SwitchJoyConLGamePadListener>public void addListener(int index,
SwitchJoyConLGamePadListener listener)
addListener in interface GamePadMapping<SwitchJoyConLGamePadListener>public void removeListener(SwitchJoyConLGamePadListener listener)
removeListener in interface GamePadMapping<SwitchJoyConLGamePadListener>public void removeListener(int index)
removeListener in interface GamePadMapping<SwitchJoyConLGamePadListener>public void clearListeners()
clearListeners in interface GamePadMapping<SwitchJoyConLGamePadListener>public int getTotalListeners()
getTotalListeners in interface GamePadMapping<SwitchJoyConLGamePadListener>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()