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.