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