public final class InputDevice extends Object
Currently, you can use this class to obtain the IDs of all input devices.
SystemCapability.MultimodalInput#MULTIMODAL_INPUTpublic static int[] getAllInputDeviceID()
For example, the bearer device is a smart TV, to which a keyboard, mouse, and remote control are connected. This function is used to obtain the IDs of the keyboard, mouse, and remote control.
MultimodalEvent.getInputDeviceId()