Package com.jme3.input
Interface JoystickConnectionListener
public interface JoystickConnectionListener
Listens for the state of a joystick connection.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConnected
(Joystick joystick) Occurs when a new joystick has been detected.void
onDisconnected
(Joystick joystick) Occurs when an existing joystick has been disconnected.
-
Method Details
-
onConnected
Occurs when a new joystick has been detected.- Parameters:
joystick
- the joystick that has been detected.
-
onDisconnected
Occurs when an existing joystick has been disconnected.- Parameters:
joystick
- the joystick that has been disconnected.
-