harmony 鸿蒙oh_axis_type.h
oh_axis_type.h
Overview
Defines the axis event structures and enumerations.
System capability: SystemCapability.MultimodalInput.Input.Core
Library: libohinput.so
Since: 12
Related module: Input
Summary
Types
Name | Description |
---|---|
typedef enum InputEvent_AxisType InputEvent_AxisType | Axis type of the input device. |
typedef enum InputEvent_AxisEventType InputEvent_AxisEventType | Event type of the input device. |
typedef enum InputEvent_AxisAction InputEvent_AxisAction | Action of the input device. |
Enum
Name | Description |
---|---|
InputEvent_AxisType { AXIS_TYPE_UNKNOWN, AXIS_TYPE_SCROLL_VERTICAL, AXIS_TYPE_SCROLL_HORIZONTAL, AXIS_TYPE_PINCH, AXIS_TYPE_ROTATE } |
Axis type of the input device. |
InputEvent_AxisEventType { AXIS_EVENT_TYPE_PINCH = 1, AXIS_EVENT_TYPE_SCROLL = 2 } | Event type of the input device. |
InputEvent_AxisAction { AXIS_ACTION_CANCEL = 0, AXIS_ACTION_BEGIN, AXIS_ACTION_UPDATE, AXIS_ACTION_END } | Action of the input device. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Input_DeviceListener
harmony 鸿蒙Input_InterceptorEventCallback
harmony 鸿蒙Input_DeviceListener
harmony 鸿蒙Input_InterceptorEventCallback
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦