Crate ohos_input_sys

Source
Available on crate feature api-12 only.
Expand description

Bindings to the Multimodal Input-kit API of OpenHarmony

Available with API-level 12 and newer

Official documentation: https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V14/input-V14

§Feature flags

§OpenHarmony API level

The inputmethod API was added in API-level 12. Defaults to no bindings at all, to maintain feature composability in ohos-sys. Optionally enable one of the api-* features to get access to bindings for newer OpenHarmony versions.

  • api-12 — Enables bindings for OpenHarmony API-level 12.
  • api-13 — Enables bindings for OpenHarmony API-level 13 (No changes)
  • api-14 — Enables bindings for OpenHarmony API-level 14
  • document-features — Document available features when building the documentation

Modules§

axis_type
Defines the axis event structures and enumerations.
input_manager
Provides functions such as event injection and status query.
key_code
Defines key codes of the key device.