diff --git a/zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md b/zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md index 5950fca754533fbb0f35713da421cac14917b3a5..e2fbf7cf662776f9017cf4f4d17ae6114251b435 100644 --- a/zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md +++ b/zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md @@ -30,8 +30,8 @@ Input设备描述信息。 ### devIndex -``` -uint32_t InputHotPlugEvent::devIndex +```cpp +uint32_t InputDevDesc::devIndex ``` **描述:** @@ -42,8 +42,8 @@ uint32_t InputHotPlugEvent::devIndex ### devType -``` -uint32_t InputHotPlugEvent::devType +```cpp +uint32_t InputDevDesc::devType ``` **描述:** diff --git a/zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md b/zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md index 8520f5f62c0ef6732a00091ae3fb49a910e03632..76839b56e7950a86e5232ea388b0e92fe7e3b142 100644 --- a/zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md +++ b/zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md @@ -18,7 +18,7 @@ | [busType](#bustype) | 总线类型 | | [vendor](#vendor) | 生产商编号 | | [product](#product) | 产品编号 | -| [fuzz](#version) | 版本号 | +| [version](#version) | 版本号 | ## **详细描述** @@ -30,7 +30,7 @@ Input设备的识别信息。 ### busType -``` +```cpp uint16_t InputDevIdentify::busType ``` @@ -40,7 +40,7 @@ uint16_t InputDevIdentify::busType ### vendor -``` +```cpp uint16_t InputDevIdentify::vendor ``` @@ -50,7 +50,7 @@ uint16_t InputDevIdentify::vendor ### product -``` +```cpp uint16_t InputDevIdentify::product ``` @@ -60,7 +60,7 @@ uint16_t InputDevIdentify::product ### version -``` +```cpp uint16_t InputDevIdentify::version ``` diff --git a/zh-cn/device-dev/reference/hdi-apis/_input_manager.md b/zh-cn/device-dev/reference/hdi-apis/_input_manager.md index ece5fbf1c79dcc6b3a366c3378c379682389b924..6f9a062e8fc5bec538ce8dcb044c1d0eb5fd0859 100644 --- a/zh-cn/device-dev/reference/hdi-apis/_input_manager.md +++ b/zh-cn/device-dev/reference/hdi-apis/_input_manager.md @@ -26,7 +26,7 @@ 提供Input设备管理相关的接口。 -此类接口包Input设备的扫描、打开和关闭、特定设备信息查询,以及所有设备列表信息获取等接口。 +此类接口包含Input设备的扫描、打开和关闭、特定设备信息查询,以及所有设备列表信息获取等。 ## **类成员变量说明** @@ -35,7 +35,7 @@ ### CloseInputDevice -``` +```cpp int32_t(* InputManager::CloseInputDevice) (uint32_t devIndex) ``` @@ -59,7 +59,7 @@ INPUT_SUCCESS 表示执行成功。 ### GetInputDevice -``` +```cpp int32_t(* InputManager::GetInputDevice) (uint32_t devIndex, InputDeviceInfo **devInfo) ``` @@ -84,7 +84,7 @@ INPUT_SUCCESS 表示执行成功。 ### GetInputDeviceList -``` +```cpp int32_t(* InputManager::GetInputDeviceList) (uint32_t *devNum, InputDeviceInfo **devList, uint32_t size) ``` @@ -110,7 +110,7 @@ INPUT_SUCCESS 表示执行成功。 ### OpenInputDevice -``` +```cpp int32_t(* InputManager::OpenInputDevice) (uint32_t devIndex) ``` @@ -134,7 +134,7 @@ INPUT_SUCCESS 表示执行成功。 ### ScanInputDevice -``` +```cpp int32_t(* InputManager::ScanInputDevice) (InputDevDesc *staArr, uint32_t arrLen) ``` diff --git a/zh-cn/device-dev/reference/hdi-apis/_input_reporter.md b/zh-cn/device-dev/reference/hdi-apis/_input_reporter.md index a478718b007d1bed0c2646471ec92f383919faa5..c940b505e9afd0e810da168a011514479fc285d6 100644 --- a/zh-cn/device-dev/reference/hdi-apis/_input_reporter.md +++ b/zh-cn/device-dev/reference/hdi-apis/_input_reporter.md @@ -15,9 +15,9 @@ | Public 属性 | 描述 | | -------- | -------- | -| ( [RegisterReportCallback](#registerreportcallback) )(uint32_t devIndex, [InputHostCb](_input_report_event_cb.md) \*callback) | 注册对应设备的回调函数。 [更多...](#registerreportcallback) | +| ( [RegisterReportCallback](#registerreportcallback) )(uint32_t devIndex, [InputEventCb](_input_report_event_cb.md) \*callback) | 注册对应设备的回调函数。 [更多...](#registerreportcallback) | | ( [UnregisterReportCallback](#unregisterreportcallback) )(uint32_t devIndex) | 注销对应设备的回调函数。 [更多...](#unregisterreportcallback) | -| ( [RegisterHotPlugCallback](#registerhotplugcallback) )([InputHostCb](_input_report_event_cb.md) \*callback) | 注册Input设备的热插拔回调函数。 [更多...](#registerhotplugcallback) | +| ( [RegisterHotPlugCallback](#registerhotplugcallback) )([InputHostCb](_input_host_cb.md) \*callback) | 注册Input设备的热插拔回调函数。 [更多...](#registerhotplugcallback) | | ( [UnregisterHotPlugCallback](#unregisterhotplugcallback) )(void) | 注销Input设备的热插拔回调函数。 [更多...](#unregisterhotplugcallback) | @@ -34,7 +34,7 @@ ### RegisterHotPlugCallback -``` +```cpp int32_t(* InputReporter::RegisterHotPlugCallback) (InputHostCb *callback) ``` @@ -60,7 +60,7 @@ INPUT_SUCCESS 表示执行成功。 ### RegisterReportCallback -``` +```cpp int32_t(* InputReporter::RegisterReportCallback) (uint32_t devIndex, InputEventCb *callback) ``` @@ -87,7 +87,7 @@ INPUT_SUCCESS 表示执行成功。 ### UnregisterHotPlugCallback -``` +```cpp int32_t(* InputReporter::UnregisterHotPlugCallback) (void) ``` @@ -105,7 +105,7 @@ INPUT_SUCCESS 表示执行成功。 ### UnregisterReportCallback -``` +```cpp int32_t(* InputReporter::UnregisterReportCallback) (uint32_t devIndex) ```