public class BaseGamePadListener extends java.lang.Object implements GamePadListener
GamePadListener that can be extended and override individual methods| Constructor and Description |
|---|
BaseGamePadListener() |
| 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) |
public void onConnect(GamePad gamePad)
onConnect in interface GamePadListenerpublic void onDisconnect(GamePad gamePad)
onDisconnect in interface GamePadListenerpublic void onButtonDown(GamePad gamePad, int buttonCode)
onButtonDown in interface GamePadListenerpublic void onButtonUp(GamePad gamePad, int buttonCode)
onButtonUp in interface GamePadListenerpublic void onAxisChanged(GamePad gamePad, int axisCode, float axisValue)
onAxisChanged in interface GamePadListenerpublic void onAccelerometerChanged(GamePad gamePad, int accelerometerCode, org.mini2Dx.gdx.math.Vector3 value)
onAccelerometerChanged in interface GamePadListener