提交 968c99ea 编写于 作者: M mayunteng_1

多模readme修改

Signed-off-by: Nmayunteng_1 <mayunteng@huawei.com>
Change-Id: If0d980a8ee8062554fb6fd78f35d34bc79d29ecf
上级 6244b9f1
# 多模输入子系统<a name="ZH-CN_TOPIC_0000001086316185"></a> # 多模输入子系统
- [简介](#section11660541593) ## 简介
- [目录](#section14408467105)
- [使用](#section18111235161011)
- [相关仓](#section135327891219)
## 简介<a name="section11660541593"></a>
OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方式,有别于传统操作系统的输入,在OpenHarmony上,我们将多种维度的输入整合在一起,开发者可以借助应用程序框架、系统自带的UI组件或API接口轻松地实现具有多维、自然交互特点的应用程序。 OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方式,有别于传统操作系统的输入,在OpenHarmony上,我们将多种维度的输入整合在一起,开发者可以借助应用程序框架、系统自带的UI组件或API接口轻松地实现具有多维、自然交互特点的应用程序。
...@@ -13,7 +8,7 @@ OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方 ...@@ -13,7 +8,7 @@ OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方
![](figures/多模架构图.png) ![](figures/多模架构图.png)
## 目录<a name="section14408467105"></a> ## 目录
``` ```
/foundation/multimodalinput/input /foundation/multimodalinput/input
...@@ -26,21 +21,21 @@ OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方 ...@@ -26,21 +21,21 @@ OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方
├── uinput # 输入事件注入模块 ├── uinput # 输入事件注入模块
``` ```
## 使用<a name="section18111235161011"></a> ## 使用
### 接口说明<a name="section86358081116"></a> ### 接口说明
多模输入目前提供的接口为按键事件注入接口,该接口仅对系统应用开放。 多模输入目前提供的接口为按键事件注入接口,该接口仅对系统应用开放。
- inputEventClient是处理注入事件类。 inputEventClient是处理注入事件类。
**表 1** inputEventClient的主要接口 **表 1** inputEventClient的主要接口
| 功能分类 | 接口名 | 描述 | | 功能分类 | 接口名 | 描述 |
| :------: | :-----------------------------------------------: | :----------------: | | :------: | :-----------------------------------------------: | :----------------: |
| 注入按键 | function injectEvent(keyEvent: KeyEvent): number; | 注入按键事件的接口 | | 注入按键 | function injectEvent(keyEvent: KeyEvent): number; | 注入按键事件的接口 |
### 使用说明<a name="section789634518111"></a> ### 使用说明
当前仅提供了BACK按键的事件注入。 当前仅提供了BACK按键的事件注入。
...@@ -60,16 +55,16 @@ let keyEvent = { ...@@ -60,16 +55,16 @@ let keyEvent = {
res = inputEventClient.injectEvent({KeyEvent: keyEvent}); res = inputEventClient.injectEvent({KeyEvent: keyEvent});
``` ```
> **说明:**新增的接口能力需要兼容原有的能力。 > **说明:** 新增的接口能力需要兼容原有的能力。
### 设备能力支持<a name="section789634518112"></a> ### 设备能力支持
| 设备 | 触摸屏 | 触摸板 | 鼠标 | 键盘 | | 设备 | 触摸屏 | 触摸板 | 鼠标 | 键盘 |
| :---------: | :----: | :----: | :--: | :--: | | :---------: | :----: | :----: | :--: | :--: |
| rk3568 | Y | Y | Y | Y | | rk3568 | 是 | 是 | 是 | 是 |
| hi3516dv300 | Y | N | N | N | | hi3516dv300 | 是 | 否 | 否 | 否 |
## 相关仓<a name="section135327891219"></a> ## 相关仓
**多模输入子系统** **多模输入子系统**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册