The module of this repository is applied on the basis of standard systems to provide devices with single-touch input capabilities. This module reports touch events to the JS UI framework or application framework, which then encapsulates the events and provides APIs for apps.
/foundation/multimodalinput/input ├── interfaces # External APIs │ └── native # Native APIs │ └── innerkits # Native APIs provided for internal subsystems ├── service # Service framework code ├── sa_profile # Service startup configuration file ├── uinput # Input event injection module
Available APIs of Multimodal Input are event injection ones, which are open only to system apps currently.
The inputEventClient class provides methods for processing injection events.
Table 1 Major APIs in inputEventClient
Currently, only the BACK key event can be injected.
When a system app needs to return to the previous directory, you can call the API to inject the BACK key event to Multimodal Input, which then transfers this event to the system app, thereby achieving the return effect. The example code is as follows:
NOTE: The new APIs must be compatible with the original capabilities.
Multimodal input subsystem
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容，可点击提交进行申诉，我们将尽快为您处理。
：Code submit frequency
：React/respond to issue & PR etc.
：Well-balanced team members and collaboration
：Recent popularity of project
：Star counts, download counts etc.