1 Star 0 Fork 5K

vv_justdoit / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
input_type-h.md 7.82 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

input_type.h

Overview

Related Modules:

Input

Description:

Declares types of input devices as well as the structure and enumeration types used by driver interfaces.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

InputExtraCmd

Defines the extra commands.

InputEventData

Describes the input event data.

InputReportEventCb

Describes the input event callback registered by the input service.

DeviceInfo

Describes basic device information of the input device.

Enumerations

Enumeration Name

Description

RetStatus {   INPUT_SUCCESS, INPUT_EINVAL, INPUT_EFAULT, INPUT_ENOMEM,   INPUT_ETIMEOUT, INPUT_EUNSUPPORT, INPUT_EUNKNOWN }

Enumerates return values.

InputDevType {   INDEV_TYPE_TOUCH, INDEV_TYPE_KEY, INDEV_TYPE_KEYBOARD, INDEV_TYPE_MOUSE,   INDEV_TYPE_BUTTON, INDEV_TYPE_CROWN, INDEV_TYPE_ENCODER, INDEV_TYPE_UNKNOWN }

Enumerates input device types.

PowerStatus { INPUT_RESUME, INPUT_SUSPEND, INPUT_LOW_POWER, INPUT_POWER_STATUS_UNKNOWN }

Enumerates power statuses.

CapacitanceTest {   BASE_TEST, FULL_TEST, MMI_TEST, RUNNING_TEST,   TEST_TYPE_UNKNOWN }

Enumerates types of capacitance tests.

1
https://gitee.com/vv-justdoit/docs.git
git@gitee.com:vv-justdoit/docs.git
vv-justdoit
docs
docs
master

搜索帮助