public static interface InputManager.InputDeviceListener
Modifier and Type | Method and Description |
---|---|
void |
onInputDeviceAdded(int deviceId)
Called whenever an input device has been added to the system.
|
void |
onInputDeviceChanged(int deviceId)
Called whenever the properties of an input device have changed since they
were last queried.
|
void |
onInputDeviceRemoved(int deviceId)
Called whenever an input device has been removed from the system.
|
void onInputDeviceAdded(int deviceId)
InputManager.getInputDevice(int)
to get more information about the device.deviceId
- The id of the input device that was added.void onInputDeviceRemoved(int deviceId)
deviceId
- The id of the input device that was removed.void onInputDeviceChanged(int deviceId)
InputManager.getInputDevice(int)
to get
a fresh InputDevice
object with the new properties.deviceId
- The id of the input device that changed.