Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
dec56aef
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
dec56aef
编写于
8月 18, 2022
作者:
O
openharmony_ci
提交者:
Gitee
8月 18, 2022
浏览文件
操作
浏览文件
下载
差异文件
!8272 修改错误结构名
Merge pull request !8272 from liyan/master
上级
13ca0c9f
ce888a1a
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
21 addition
and
21 deletion
+21
-21
zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md
zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md
+4
-4
zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md
zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md
+5
-5
zh-cn/device-dev/reference/hdi-apis/_input_manager.md
zh-cn/device-dev/reference/hdi-apis/_input_manager.md
+6
-6
zh-cn/device-dev/reference/hdi-apis/_input_reporter.md
zh-cn/device-dev/reference/hdi-apis/_input_reporter.md
+6
-6
未找到文件。
zh-cn/device-dev/reference/hdi-apis/_input_dev_desc.md
浏览文件 @
dec56aef
...
@@ -30,8 +30,8 @@ Input设备描述信息。
...
@@ -30,8 +30,8 @@ Input设备描述信息。
### devIndex
### devIndex
```
```
cpp
uint32_t Input
HotPlugEvent
::devIndex
uint32_t
Input
DevDesc
::
devIndex
```
```
**描述:**
**描述:**
...
@@ -42,8 +42,8 @@ uint32_t InputHotPlugEvent::devIndex
...
@@ -42,8 +42,8 @@ uint32_t InputHotPlugEvent::devIndex
### devType
### devType
```
```
cpp
uint32_t Input
HotPlugEvent
::devType
uint32_t
Input
DevDesc
::
devType
```
```
**描述:**
**描述:**
...
...
zh-cn/device-dev/reference/hdi-apis/_input_dev_identify.md
浏览文件 @
dec56aef
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
|
[
busType
](
#bustype
)
| 总线类型 |
|
[
busType
](
#bustype
)
| 总线类型 |
|
[
vendor
](
#vendor
)
| 生产商编号 |
|
[
vendor
](
#vendor
)
| 生产商编号 |
|
[
product
](
#product
)
| 产品编号 |
|
[
product
](
#product
)
| 产品编号 |
|
[
fuzz
](
#version
)
| 版本号 |
|
[
version
](
#version
)
| 版本号 |
## **详细描述**
## **详细描述**
...
@@ -30,7 +30,7 @@ Input设备的识别信息。
...
@@ -30,7 +30,7 @@ Input设备的识别信息。
### busType
### busType
```
```
cpp
uint16_t
InputDevIdentify
::
busType
uint16_t
InputDevIdentify
::
busType
```
```
...
@@ -40,7 +40,7 @@ uint16_t InputDevIdentify::busType
...
@@ -40,7 +40,7 @@ uint16_t InputDevIdentify::busType
### vendor
### vendor
```
```
cpp
uint16_t
InputDevIdentify
::
vendor
uint16_t
InputDevIdentify
::
vendor
```
```
...
@@ -50,7 +50,7 @@ uint16_t InputDevIdentify::vendor
...
@@ -50,7 +50,7 @@ uint16_t InputDevIdentify::vendor
### product
### product
```
```
cpp
uint16_t
InputDevIdentify
::
product
uint16_t
InputDevIdentify
::
product
```
```
...
@@ -60,7 +60,7 @@ uint16_t InputDevIdentify::product
...
@@ -60,7 +60,7 @@ uint16_t InputDevIdentify::product
### version
### version
```
```
cpp
uint16_t
InputDevIdentify
::
version
uint16_t
InputDevIdentify
::
version
```
```
...
...
zh-cn/device-dev/reference/hdi-apis/_input_manager.md
浏览文件 @
dec56aef
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
提供Input设备管理相关的接口。
提供Input设备管理相关的接口。
此类接口包
Input设备的扫描、打开和关闭、特定设备信息查询,以及所有设备列表信息获取等接口
。
此类接口包
含Input设备的扫描、打开和关闭、特定设备信息查询,以及所有设备列表信息获取等
。
## **类成员变量说明**
## **类成员变量说明**
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
### CloseInputDevice
### CloseInputDevice
```
```
cpp
int32_t
(
*
InputManager
::
CloseInputDevice
)
(
uint32_t
devIndex
)
int32_t
(
*
InputManager
::
CloseInputDevice
)
(
uint32_t
devIndex
)
```
```
...
@@ -59,7 +59,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -59,7 +59,7 @@ INPUT_SUCCESS 表示执行成功。
### GetInputDevice
### GetInputDevice
```
```
cpp
int32_t
(
*
InputManager
::
GetInputDevice
)
(
uint32_t
devIndex
,
InputDeviceInfo
**
devInfo
)
int32_t
(
*
InputManager
::
GetInputDevice
)
(
uint32_t
devIndex
,
InputDeviceInfo
**
devInfo
)
```
```
...
@@ -84,7 +84,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -84,7 +84,7 @@ INPUT_SUCCESS 表示执行成功。
### GetInputDeviceList
### GetInputDeviceList
```
```
cpp
int32_t
(
*
InputManager
::
GetInputDeviceList
)
(
uint32_t
*
devNum
,
InputDeviceInfo
**
devList
,
uint32_t
size
)
int32_t
(
*
InputManager
::
GetInputDeviceList
)
(
uint32_t
*
devNum
,
InputDeviceInfo
**
devList
,
uint32_t
size
)
```
```
...
@@ -110,7 +110,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -110,7 +110,7 @@ INPUT_SUCCESS 表示执行成功。
### OpenInputDevice
### OpenInputDevice
```
```
cpp
int32_t
(
*
InputManager
::
OpenInputDevice
)
(
uint32_t
devIndex
)
int32_t
(
*
InputManager
::
OpenInputDevice
)
(
uint32_t
devIndex
)
```
```
...
@@ -134,7 +134,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -134,7 +134,7 @@ INPUT_SUCCESS 表示执行成功。
### ScanInputDevice
### ScanInputDevice
```
```
cpp
int32_t
(
*
InputManager
::
ScanInputDevice
)
(
InputDevDesc
*
staArr
,
uint32_t
arrLen
)
int32_t
(
*
InputManager
::
ScanInputDevice
)
(
InputDevDesc
*
staArr
,
uint32_t
arrLen
)
```
```
...
...
zh-cn/device-dev/reference/hdi-apis/_input_reporter.md
浏览文件 @
dec56aef
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
| Public
属性 | 描述 |
| Public
属性 | 描述 |
| -------- | -------- |
| -------- | -------- |
| (
[RegisterReportCallback](#registerreportcallback)
)(uint32_t
devIndex,
[Input
Hos
tCb](_input_report_event_cb.md)
\*
callback) | 注册对应设备的回调函数。
[
更多...
](
#registerreportcallback
)
|
| (
[RegisterReportCallback](#registerreportcallback)
)(uint32_t
devIndex,
[Input
Even
tCb](_input_report_event_cb.md)
\*
callback) | 注册对应设备的回调函数。
[
更多...
](
#registerreportcallback
)
|
| (
[UnregisterReportCallback](#unregisterreportcallback)
)(uint32_t
devIndex) | 注销对应设备的回调函数。
[
更多...
](
#unregisterreportcallback
)
|
| (
[UnregisterReportCallback](#unregisterreportcallback)
)(uint32_t
devIndex) | 注销对应设备的回调函数。
[
更多...
](
#unregisterreportcallback
)
|
| (
[RegisterHotPlugCallback](#registerhotplugcallback)
)([InputHostCb](_input_
report_even
t_cb.md)
\*
callback) | 注册Input设备的热插拔回调函数。
[
更多...
](
#registerhotplugcallback
)
|
| (
[RegisterHotPlugCallback](#registerhotplugcallback)
)([InputHostCb](_input_
hos
t_cb.md)
\*
callback) | 注册Input设备的热插拔回调函数。
[
更多...
](
#registerhotplugcallback
)
|
| (
[UnregisterHotPlugCallback](#unregisterhotplugcallback)
)(void) | 注销Input设备的热插拔回调函数。
[
更多...
](
#unregisterhotplugcallback
)
|
| (
[UnregisterHotPlugCallback](#unregisterhotplugcallback)
)(void) | 注销Input设备的热插拔回调函数。
[
更多...
](
#unregisterhotplugcallback
)
|
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
### RegisterHotPlugCallback
### RegisterHotPlugCallback
```
```
cpp
int32_t
(
*
InputReporter
::
RegisterHotPlugCallback
)
(
InputHostCb
*
callback
)
int32_t
(
*
InputReporter
::
RegisterHotPlugCallback
)
(
InputHostCb
*
callback
)
```
```
...
@@ -60,7 +60,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -60,7 +60,7 @@ INPUT_SUCCESS 表示执行成功。
### RegisterReportCallback
### RegisterReportCallback
```
```
cpp
int32_t
(
*
InputReporter
::
RegisterReportCallback
)
(
uint32_t
devIndex
,
InputEventCb
*
callback
)
int32_t
(
*
InputReporter
::
RegisterReportCallback
)
(
uint32_t
devIndex
,
InputEventCb
*
callback
)
```
```
...
@@ -87,7 +87,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -87,7 +87,7 @@ INPUT_SUCCESS 表示执行成功。
### UnregisterHotPlugCallback
### UnregisterHotPlugCallback
```
```
cpp
int32_t
(
*
InputReporter
::
UnregisterHotPlugCallback
)
(
void
)
int32_t
(
*
InputReporter
::
UnregisterHotPlugCallback
)
(
void
)
```
```
...
@@ -105,7 +105,7 @@ INPUT_SUCCESS 表示执行成功。
...
@@ -105,7 +105,7 @@ INPUT_SUCCESS 表示执行成功。
### UnregisterReportCallback
### UnregisterReportCallback
```
```
cpp
int32_t
(
*
InputReporter
::
UnregisterReportCallback
)
(
uint32_t
devIndex
)
int32_t
(
*
InputReporter
::
UnregisterReportCallback
)
(
uint32_t
devIndex
)
```
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录