Interface InputDevice
-
- All Known Implementing Classes:
AWTInput,GDXInput,TeaInputDevice
public interface InputDeviceUsed to poll the status of the platform's input devices. Depending on the device, this may consist of a mouse, keyboard, or touch screen. Attempting to access an input device that is not available will result in aUnsupportedOperationException.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PointgetPointer()booleanisKeyboardAvailable()booleanisKeyPressed(KeyCode keyCode)booleanisKeyReleased(KeyCode keyCode)booleanisPointerPressed()booleanisPointerReleased()
-