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) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(SwitchJoyConLGamePadListener listener) |
void |
clearListeners() |
void |
dispose() |
DeadZone |
getLeftStickDeadZone() |
int |
getTotalListeners() |
DeadZone |
getZLDeadZone() |
protected boolean |
notifyButtonDown(SwitchJoyConLButton button) |
protected boolean |
notifyButtonUp(SwitchJoyConLButton button) |
protected boolean |
notifyConnected() |
protected boolean |
notifyDisconnected() |
protected boolean |
notifyLeftStickXMoved(float value) |
protected boolean |
notifyLeftStickYMoved(float value) |
protected boolean |
notifyZLMoved(float value) |
void |
removeListener(SwitchJoyConLGamePadListener listener) |
void |
setLeftStickDeadZone(DeadZone leftStickDeadZone) |
void |
setZLDeadZone(DeadZone zlDeadZone) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onAccelerometerChanged, onAxisChanged, onButtonDown, onButtonUp, onConnect, onDisconnect, onPovChanged
public SwitchJoyConLGamePad(GamePad gamePad)
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.Disposable
public DeadZone getLeftStickDeadZone()
public void setLeftStickDeadZone(DeadZone leftStickDeadZone)
public DeadZone getZLDeadZone()
public void setZLDeadZone(DeadZone zlDeadZone)