Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
1c5e7790
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
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看板
未验证
提交
1c5e7790
编写于
7月 27, 2022
作者:
L
liyan
提交者:
Gitee
7月 27, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
统一input的大小写
Signed-off-by:
N
li-yan339
<
liyan339@h-partners.com
>
上级
19ea23dc
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
15 deletion
+15
-15
zh-cn/device-dev/reference/hdi-apis/_input_controller.md
zh-cn/device-dev/reference/hdi-apis/_input_controller.md
+15
-15
未找到文件。
zh-cn/device-dev/reference/hdi-apis/_input_controller.md
浏览文件 @
1c5e7790
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
| -------- | -------- |
| -------- | -------- |
| (
[SetPowerStatus](#setpowerstatus)
)(uint32_t
devIndex,
uint32_t
status) | 设置电源状态
[
更多...
](
#setpowerstatus
)
|
| (
[SetPowerStatus](#setpowerstatus)
)(uint32_t
devIndex,
uint32_t
status) | 设置电源状态
[
更多...
](
#setpowerstatus
)
|
| (
[GetPowerStatus](#getpowerstatus)
)(uint32_t
devIndex,
uint32_t
\*
status) | 获取电源状态
[
更多...
](
#getpowerstatus
)
|
| (
[GetPowerStatus](#getpowerstatus)
)(uint32_t
devIndex,
uint32_t
\*
status) | 获取电源状态
[
更多...
](
#getpowerstatus
)
|
| (
[GetDeviceType](#getdevicetype)
)(uint32_t
devIndex,
uint32_t
\*
deviceType) | 获取devIndex对应的
i
nput设备的类型
[
更多...
](
#getdevicetype
)
|
| (
[GetDeviceType](#getdevicetype)
)(uint32_t
devIndex,
uint32_t
\*
deviceType) | 获取devIndex对应的
I
nput设备的类型
[
更多...
](
#getdevicetype
)
|
| (
[GetChipInfo](#getchipinfo)
)(uint32_t
devIndex,
char
\*chipInfo,
uint32_t
length) | 获取器件对应的编码信息
[
更多...
](
#getchipinfo
)
|
| (
[GetChipInfo](#getchipinfo)
)(uint32_t
devIndex,
char
\*chipInfo,
uint32_t
length) | 获取器件对应的编码信息
[
更多...
](
#getchipinfo
)
|
| (
[GetVendorName](#getvendorname)
)(uint32_t
devIndex,
char
\*vendorName,
uint32_t
length) | 获取devIndex对应的模组厂商名
[
更多...
](
#getvendorname
)
|
| (
[GetVendorName](#getvendorname)
)(uint32_t
devIndex,
char
\*vendorName,
uint32_t
length) | 获取devIndex对应的模组厂商名
[
更多...
](
#getvendorname
)
|
| (
[GetChipName](#getchipname)
)(uint32_t
devIndex,
char
\*chipName,
uint32_t
length) | 获取devIndex对应的驱动芯片名
[
更多...
](
#getchipname
)
|
| (
[GetChipName](#getchipname)
)(uint32_t
devIndex,
char
\*chipName,
uint32_t
length) | 获取devIndex对应的驱动芯片名
[
更多...
](
#getchipname
)
|
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
## **详细描述**
## **详细描述**
提供
i
nput设备业务控制相关的接口。
提供
I
nput设备业务控制相关的接口。
此类接口包含电源状态的设置、特性的使能、器件信息的获取,以及产线相关的测试功能接口。
此类接口包含电源状态的设置、特性的使能、器件信息的获取,以及产线相关的测试功能接口。
...
@@ -53,7 +53,7 @@ int32_t(* InputController::GetChipInfo) (uint32_t devIndex, char *chipInfo, uint
...
@@ -53,7 +53,7 @@ int32_t(* InputController::GetChipInfo) (uint32_t devIndex, char *chipInfo, uint
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| chipInfo | 获取的对应设备索引的器件编码信息。 |
| chipInfo | 获取的对应设备索引的器件编码信息。 |
| length | 保存器件芯片信息的内存长度。 |
| length | 保存器件芯片信息的内存长度。 |
...
@@ -79,7 +79,7 @@ int32_t(* InputController::GetChipName) (uint32_t devIndex, char *chipName, uint
...
@@ -79,7 +79,7 @@ int32_t(* InputController::GetChipName) (uint32_t devIndex, char *chipName, uint
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| chipName | 获取的对应设备索引的驱动芯片名。 |
| chipName | 获取的对应设备索引的驱动芯片名。 |
| length | 保存驱动芯片名的内存长度。 |
| length | 保存驱动芯片名的内存长度。 |
...
@@ -99,13 +99,13 @@ int32_t(* InputController::GetDeviceType) (uint32_t devIndex, uint32_t *deviceTy
...
@@ -99,13 +99,13 @@ int32_t(* InputController::GetDeviceType) (uint32_t devIndex, uint32_t *deviceTy
**描述:**
**描述:**
获取devIndex对应的
i
nput设备的类型
获取devIndex对应的
I
nput设备的类型
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| deviceType | 获取的对应设备索引的设备类型,具体参考
**InputDevType**
。 |
| deviceType | 获取的对应设备索引的设备类型,具体参考
**InputDevType**
。 |
**返回:**
**返回:**
...
@@ -126,13 +126,13 @@ int32_t(* InputController::GetPowerStatus) (uint32_t devIndex, uint32_t *status)
...
@@ -126,13 +126,13 @@ int32_t(* InputController::GetPowerStatus) (uint32_t devIndex, uint32_t *status)
获取电源状态
获取电源状态
在系统休眠或者唤醒时,
i
nput服务或电源管理模块获取电源状态,以便驱动IC能正常进入对应的休眠模式。
在系统休眠或者唤醒时,
I
nput服务或电源管理模块获取电源状态,以便驱动IC能正常进入对应的休眠模式。
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| status | 获取的对应设备索引的电源状态,具体参考
**PowerStatus**
。 |
| status | 获取的对应设备索引的电源状态,具体参考
**PowerStatus**
。 |
**返回:**
**返回:**
...
@@ -157,7 +157,7 @@ int32_t(* InputController::GetVendorName) (uint32_t devIndex, char *vendorName,
...
@@ -157,7 +157,7 @@ int32_t(* InputController::GetVendorName) (uint32_t devIndex, char *vendorName,
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| vendorName | 获取的对应设备索引的模组厂商名。 |
| vendorName | 获取的对应设备索引的模组厂商名。 |
| length | 保存模组厂商名的内存长度。 |
| length | 保存模组厂商名的内存长度。 |
...
@@ -185,7 +185,7 @@ int32_t(* InputController::RunCapacitanceTest) (uint32_t devIndex, uint32_t test
...
@@ -185,7 +185,7 @@ int32_t(* InputController::RunCapacitanceTest) (uint32_t devIndex, uint32_t test
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| testType | 容值测试的测试类型,具体参考
**CapacitanceTest**
。 |
| testType | 容值测试的测试类型,具体参考
**CapacitanceTest**
。 |
| result | 容值测试的结果,成功则输出“SUCCESS”,失败则返回对应的错误提示
。 |
| result | 容值测试的结果,成功则输出“SUCCESS”,失败则返回对应的错误提示
。 |
| length | 保存容值测试结果的内存长度。 |
| length | 保存容值测试结果的内存长度。 |
...
@@ -212,7 +212,7 @@ int32_t(* InputController::RunExtraCommand) (uint32_t devIndex, InputExtraCmd *c
...
@@ -212,7 +212,7 @@ int32_t(* InputController::RunExtraCommand) (uint32_t devIndex, InputExtraCmd *c
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| cmd | 拓展指令数据包,包括指令编码及参数,具体参考
**InputExtraCmd**
。 |
| cmd | 拓展指令数据包,包括指令编码及参数,具体参考
**InputExtraCmd**
。 |
**返回:**
**返回:**
...
@@ -239,7 +239,7 @@ int32_t(* InputController::SetGestureMode) (uint32_t devIndex, uint32_t gestureM
...
@@ -239,7 +239,7 @@ int32_t(* InputController::SetGestureMode) (uint32_t devIndex, uint32_t gestureM
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| gestureMode | 手势模式的开关状态 |
| gestureMode | 手势模式的开关状态 |
**返回:**
**返回:**
...
@@ -260,14 +260,14 @@ int32_t(* InputController::SetPowerStatus) (uint32_t devIndex, uint32_t status)
...
@@ -260,14 +260,14 @@ int32_t(* InputController::SetPowerStatus) (uint32_t devIndex, uint32_t status)
设置电源状态
设置电源状态
在系统休眠或者唤醒时,
i
nput服务或电源管理模块设置电源状态,以使驱动IC能正常进入对应的休眠模式。
在系统休眠或者唤醒时,
I
nput服务或电源管理模块设置电源状态,以使驱动IC能正常进入对应的休眠模式。
**参数:**
**参数:**
| 名称 | 描述 |
| 名称 | 描述 |
| -------- | -------- |
| -------- | -------- |
| devIndex | Input设备索引,用于标志多个
i
nput设备,取值从0开始,最多支持32个设备。 |
| devIndex | Input设备索引,用于标志多个
I
nput设备,取值从0开始,最多支持32个设备。 |
| status | 设置的电源状态,
input服务控制i
nput设备进入resume或者suspend等状态
[
PowerStatus
](
_input.md#powerstatus
)
。 |
| status | 设置的电源状态,
Input服务控制I
nput设备进入resume或者suspend等状态
[
PowerStatus
](
_input.md#powerstatus
)
。 |
**返回:**
**返回:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录