diff --git "a/zh-cn/readme/\345\244\232\346\250\241\350\276\223\345\205\245\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\244\232\346\250\241\350\276\223\345\205\245\345\255\220\347\263\273\347\273\237.md" old mode 100644 new mode 100755 index c667d64e76d2ba546e3ed8c82402dfd30e642e9a..b54a3ae33340fe570aa44cc7ac4fdb7a7b112fae --- "a/zh-cn/readme/\345\244\232\346\250\241\350\276\223\345\205\245\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\345\244\232\346\250\241\350\276\223\345\205\245\345\255\220\347\263\273\347\273\237.md" @@ -1,11 +1,6 @@ -# 多模输入子系统 +# 多模输入子系统 -- [简介](#section11660541593) -- [目录](#section14408467105) -- [使用](#section18111235161011) -- [相关仓](#section135327891219) - -## 简介 +## 简介 OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方式,有别于传统操作系统的输入,在OpenHarmony上,我们将多种维度的输入整合在一起,开发者可以借助应用程序框架、系统自带的UI组件或API接口轻松地实现具有多维、自然交互特点的应用程序。 @@ -13,7 +8,7 @@ OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方 ![](figures/多模架构图.png) -## 目录 +## 目录 ``` /foundation/multimodalinput/input @@ -26,21 +21,21 @@ OpenHarmony旨在为开发者提供NUI(Natural User Interface)的交互方 ├── uinput # 输入事件注入模块 ``` -## 使用 +## 使用 -### 接口说明 +### 接口说明 多模输入目前提供的接口为按键事件注入接口,该接口仅对系统应用开放。 -- inputEventClient是处理注入事件类。 +inputEventClient是处理注入事件类。 - **表 1** inputEventClient的主要接口 +**表 1** inputEventClient的主要接口 - | 功能分类 | 接口名 | 描述 | +| 功能分类 | 接口名 | 描述 | | :------: | :-----------------------------------------------: | :----------------: | | 注入按键 | function injectEvent(keyEvent: KeyEvent): number; | 注入按键事件的接口 | -### 使用说明 +### 使用说明 当前仅提供了BACK按键的事件注入。 @@ -60,16 +55,16 @@ let keyEvent = { res = inputEventClient.injectEvent({KeyEvent: keyEvent}); ``` -> **说明:**新增的接口能力需要兼容原有的能力。 +> **说明:** 新增的接口能力需要兼容原有的能力。 -### 设备能力支持 +### 设备能力支持 | 设备 | 触摸屏 | 触摸板 | 鼠标 | 键盘 | | :---------: | :----: | :----: | :--: | :--: | -| rk3568 | Y | Y | Y | Y | -| hi3516dv300 | Y | N | N | N | +| rk3568 | 是 | 是 | 是 | 是 | +| hi3516dv300 | 是 | 否 | 否 | 否 | -## 相关仓 +## 相关仓 **多模输入子系统**