InputManager

Class of android.hardware.input · InputManager.java · Android's reference

public final class InputManager

The input devices. Events come from the host's window system, and no event carries a system signature.

Nested types

Fields

public static final String ACTION_QUERY_KEYBOARD_LAYOUTS = "android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS" source

Constructors

public InputManager() empty body source

Methods

public VerifiedInputEvent verifyInputEvent(InputEvent event) source

Null, as for an event that the system did not sign.

public int[] getInputDeviceIds() source
public InputDevice getInputDevice(int id) source
public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) empty body source
public void unregisterInputDeviceListener(InputDeviceListener listener) empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.