public class LibgdxXboxGamePad extends XboxGamePad
ID
Constructor and Description |
---|
LibgdxXboxGamePad(GamePad gamePad) |
LibgdxXboxGamePad(GamePad gamePad,
DeadZone leftStickDeadZone,
DeadZone rightStickDeadZone) |
Modifier and Type | Method and Description |
---|---|
void |
onAccelerometerChanged(GamePad gamePad,
int accelerometerCode,
org.mini2Dx.gdx.math.Vector3 value) |
void |
onAxisChanged(GamePad gamePad,
int axisCode,
float axisValue) |
void |
onButtonDown(GamePad gamePad,
int buttonCode) |
void |
onButtonUp(GamePad gamePad,
int buttonCode) |
void |
onConnect(GamePad gamePad) |
void |
onDisconnect(GamePad gamePad) |
void |
onPovChanged(GamePad gamePad,
int povCode,
PovState povState) |
addListener, addListener, clearListeners, dispose, getLeftStickDeadZone, getLeftTriggerDeadZone, getRightStickDeadZone, getRightTriggerDeadZone, getTotalListeners, notifyButtonDown, notifyButtonUp, notifyConnected, notifyDisconnected, notifyLeftStickXMoved, notifyLeftStickYMoved, notifyLeftTriggerMoved, notifyRightStickXMoved, notifyRightStickYMoved, notifyRightTriggerMoved, removeListener, removeListener, setLeftStickDeadZone, setLeftTriggerDeadZone, setRightStickDeadZone, setRightTriggerDeadZone
public LibgdxXboxGamePad(GamePad gamePad)
public void onConnect(GamePad gamePad)
public void onDisconnect(GamePad gamePad)
public void onButtonDown(GamePad gamePad, int buttonCode)
public void onButtonUp(GamePad gamePad, int buttonCode)
public void onAxisChanged(GamePad gamePad, int axisCode, float axisValue)
public void onAccelerometerChanged(GamePad gamePad, int accelerometerCode, org.mini2Dx.gdx.math.Vector3 value)