Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
f777ecee
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
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看板
未验证
提交
f777ecee
编写于
7月 27, 2022
作者:
L
liyan
提交者:
Gitee
7月 27, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
统一input的大小写
Signed-off-by:
N
li-yan339
<
liyan339@h-partners.com
>
上级
1f8001ae
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
17 addition
and
17 deletion
+17
-17
zh-cn/device-dev/reference/hdi-apis/_input_manager.md
zh-cn/device-dev/reference/hdi-apis/_input_manager.md
+17
-17
未找到文件。
zh-cn/device-dev/reference/hdi-apis/_input_manager.md
浏览文件 @
f777ecee
...
@@ -15,18 +15,18 @@
...
@@ -15,18 +15,18 @@
| Public
属性 | 描述 |
| Public
属性 | 描述 |
| -------- | -------- |
| -------- | -------- |
| (
[ScanInputDevice](#scaninputdevice)
)(DevDesc
\*staArr,
uint32_t
arrLen) |
i
nput服务用于扫描所有在线设备。
[
更多...
](
#scaninputdevice
)
|
| (
[ScanInputDevice](#scaninputdevice)
)(DevDesc
\*staArr,
uint32_t
arrLen) |
I
nput服务用于扫描所有在线设备。
[
更多...
](
#scaninputdevice
)
|
| (
[OpenInputDevice](#openinputdevice)
)(uint32_t
devIndex) |
i
nput服务打开对应设备的设备文件
[
更多...
](
#openinputdevice
)
|
| (
[OpenInputDevice](#openinputdevice)
)(uint32_t
devIndex) |
I
nput服务打开对应设备的设备文件
[
更多...
](
#openinputdevice
)
|
| (
[CloseInputDevice](#closeinputdevice)
)(uint32_t
devIndex) |
i
nput服务关闭对应设备的设备文件
[
更多...
](
#closeinputdevice
)
|
| (
[CloseInputDevice](#closeinputdevice)
)(uint32_t
devIndex) |
I
nput服务关闭对应设备的设备文件
[
更多...
](
#closeinputdevice
)
|
| (
[GetInputDevice](#getinputdevice)
)(uint32_t
devIndex,
[DeviceInfo](_device_info.md)
\*\*
devInfo) |
i
nput服务获取对应ID的设备信息
[
更多...
](
#getinputdevice
)
|
| (
[GetInputDevice](#getinputdevice)
)(uint32_t
devIndex,
[DeviceInfo](_device_info.md)
\*\*
devInfo) |
I
nput服务获取对应ID的设备信息
[
更多...
](
#getinputdevice
)
|
| (
[GetInputDeviceList](#getinputdevicelist)
)(uint32_t
\*devNum,
[DeviceInfo](_device_info.md)
\*\*devList,
uint32_t
size) |
input服务获取所有i
nput设备列表的设备信息
[
更多...
](
#getinputdevicelist
)
|
| (
[GetInputDeviceList](#getinputdevicelist)
)(uint32_t
\*devNum,
[DeviceInfo](_device_info.md)
\*\*devList,
uint32_t
size) |
Input服务获取所有I
nput设备列表的设备信息
[
更多...
](
#getinputdevicelist
)
|
## **详细描述**
## **详细描述**
提供
i
nput设备管理相关的接口。
提供
I
nput设备管理相关的接口。
此类接口包
含i
nput设备的扫描、打开和关闭、特定设备信息查询,以及所有设备列表信息获取等接口。
此类接口包
I
nput设备的扫描、打开和关闭、特定设备信息查询,以及所有设备列表信息获取等接口。
## **类成员变量说明**
## **类成员变量说明**
...
@@ -41,13 +41,13 @@ int32_t(* InputManager::CloseInputDevice) (uint32_t devIndex)
...
@@ -41,13 +41,13 @@ int32_t(* InputManager::CloseInputDevice) (uint32_t devIndex)
**描述:**
**描述:**
i
nput服务关闭对应设备的设备文件
I
nput服务关闭对应设备的设备文件
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备 |
**返回:**
**返回:**
...
@@ -65,13 +65,13 @@ int32_t(* InputManager::GetInputDevice) (uint32_t devIndex, DeviceInfo **devInfo
...
@@ -65,13 +65,13 @@ int32_t(* InputManager::GetInputDevice) (uint32_t devIndex, DeviceInfo **devInfo
**描述:**
**描述:**
i
nput服务获取对应ID的设备信息。
I
nput服务获取对应ID的设备信息。
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| devInfo | 即devIndex对应设备的设备信息,具体参考
**DeviceInfo**
。 |
| devInfo | 即devIndex对应设备的设备信息,具体参考
**DeviceInfo**
。 |
**返回:**
**返回:**
...
@@ -90,14 +90,14 @@ int32_t(* InputManager::GetInputDeviceList) (uint32_t *devNum, DeviceInfo **devL
...
@@ -90,14 +90,14 @@ int32_t(* InputManager::GetInputDeviceList) (uint32_t *devNum, DeviceInfo **devL
**描述:**
**描述:**
input服务获取所有i
nput设备列表的设备信息。
Input服务获取所有I
nput设备列表的设备信息。
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devNum | 当前已经注册过的所有
i
nput设备的总数。 |
| devNum | 当前已经注册过的所有
I
nput设备的总数。 |
| devInfo |
i
nput设备列表所对应的设备信息,具体参考
**DeviceInfo**
。 |
| devInfo |
I
nput设备列表所对应的设备信息,具体参考
**DeviceInfo**
。 |
| size | 即指定deviceList数组对应的元素个数。 |
| size | 即指定deviceList数组对应的元素个数。 |
返回:
返回:
...
@@ -116,13 +116,13 @@ int32_t(* InputManager::OpenInputDevice) (uint32_t devIndex)
...
@@ -116,13 +116,13 @@ int32_t(* InputManager::OpenInputDevice) (uint32_t devIndex)
**描述:**
**描述:**
i
nput服务打开对应设备的设备文件
I
nput服务打开对应设备的设备文件
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
**返回:**
**返回:**
...
@@ -140,7 +140,7 @@ int32_t(* InputManager::ScanInputDevice) (DevDesc *staArr, uint32_t arrLen)
...
@@ -140,7 +140,7 @@ int32_t(* InputManager::ScanInputDevice) (DevDesc *staArr, uint32_t arrLen)
**描述:**
**描述:**
i
nput服务用于扫描所有在线设备。
I
nput服务用于扫描所有在线设备。
**参数:**
**参数:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录