# InputManager - [Overview](#section1517000695165631) - [Summary](#section1422849149165631) - [Data Fields](#pub-attribs) - [Details](#section1439023108165631) - [Field](#section142390188165631) - [CloseInputDevice](#a41f3a8a5d8995c9a08bd90c1d367209d) - [GetInputDevice](#abf32ba302df150d952714776e1707bc5) - [GetInputDeviceList](#a74f11b9e24d19413f5eb9b35700be078) - [OpenInputDevice](#a9153e901b4811654d8dfc2e78aa29f07) ## **Overview** **Related Modules:** [Input](input.md) **Description:** Provides interfaces for managing input devices. The interfaces can be used to perform basic operations on the input devices, such as opening and closing the device files and querying information about the input device. ## **Summary** ## Data Fields
OpenInputDevice )(uint32_t devIndex) |
|
CloseInputDevice )(uint32_t devIndex) |
|
GetInputDevice )(uint32_t devIndex, DeviceInfo **devInfo) |
|
GetInputDeviceList )(uint32_t *devNum, DeviceInfo **devList, uint32_t size) |
Gets information about all input devices in the device list. |
| devIndex | Indicates the index of an input device. A maximum of 32 input devices are supported. The value ranges from 0 to 31, and value 0 represents the first input device. |
| devIndex | Indicates the index of an input device. A maximum of 32 input devices are supported. The value ranges from 0 to 31, and value 0 represents the first input device. |
| devInfo | Indicates the double pointer to information about the specified device. For details, see DeviceInfo. |
| devNum | Indicates the pointer to the total number of input devices which have been registered. |
| devList | Indicates the double pointer to information about all devices in the device list. For details, see DeviceInfo. |
| size | Indicates the number of elements in the devList array. |
| devIndex | Indicates the index of an input device. A maximum of 32 input devices are supported. The value ranges from 0 to 31, and value 0 represents the first input device. |