public interface JoystickConnectionListener
Modifier and Type | Method and Description |
---|---|
void |
onConnected(Joystick joystick)
Occurs when a new joystick has been detected.
|
void |
onDisconnected(Joystick joystick)
Occurs when an existing joystick has been disconnected.
|
void onConnected(Joystick joystick)
joystick
- the joystick that has been detected.void onDisconnected(Joystick joystick)
joystick
- the joystick that has been disconnected.