public abstract class SwitchJoyConRGamePad extends java.lang.Object implements GamePadMapping<SwitchJoyConRGamePadListener>, org.mini2Dx.gdx.utils.Disposable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ID |
| Constructor and Description |
|---|
SwitchJoyConRGamePad(GamePad gamePad) |
SwitchJoyConRGamePad(GamePad gamePad,
DeadZone rightStickDeadZone) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAccelerometerChanged, onAxisChanged, onButtonDown, onButtonUp, onConnect, onDisconnectpublic SwitchJoyConRGamePad(GamePad gamePad)
public abstract boolean isButtonDown(SwitchJoyConRButton button)
public abstract boolean isButtonUp(SwitchJoyConRButton button)
protected boolean notifyConnected()
protected boolean notifyDisconnected()
protected boolean notifyButtonDown(SwitchJoyConRButton button)
protected boolean notifyButtonUp(SwitchJoyConRButton button)
protected boolean notifyRightStickXMoved(float value)
protected boolean notifyRightStickYMoved(float value)
protected boolean notifyZRMoved(float value)
public void addListener(SwitchJoyConRGamePadListener listener)
addListener in interface GamePadMapping<SwitchJoyConRGamePadListener>public void addListener(int index,
SwitchJoyConRGamePadListener listener)
addListener in interface GamePadMapping<SwitchJoyConRGamePadListener>public void removeListener(SwitchJoyConRGamePadListener listener)
removeListener in interface GamePadMapping<SwitchJoyConRGamePadListener>public void removeListener(int index)
removeListener in interface GamePadMapping<SwitchJoyConRGamePadListener>public void clearListeners()
clearListeners in interface GamePadMapping<SwitchJoyConRGamePadListener>public int getTotalListeners()
getTotalListeners in interface GamePadMapping<SwitchJoyConRGamePadListener>public void dispose()
dispose in interface org.mini2Dx.gdx.utils.Disposablepublic DeadZone getRightStickDeadZone()
public void setRightStickDeadZone(DeadZone rightStickDeadZone)
public DeadZone getZRDeadZone()
public void setZRDeadZone(DeadZone zrDeadZone)
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()