harmony 鸿蒙oh_axis_type.h

2025-06-12 浏览 (1)

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

NameDescription
typedef enum InputEvent_AxisType InputEvent_AxisTypeAxis type of the input device.
typedef enum InputEvent_AxisEventType InputEvent_AxisEventTypeEvent type of the input device.
typedef enum InputEvent_AxisAction InputEvent_AxisActionAction of the input device.

Enum

NameDescription
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 Kit

harmony 鸿蒙Input_DeviceListener

harmony 鸿蒙Input_InterceptorEventCallback

harmony 鸿蒙Input_AxisEvent

harmony 鸿蒙Input_DeviceInfo

harmony 鸿蒙Input_DeviceListener

harmony 鸿蒙Input_Hotkey

harmony 鸿蒙Input_InterceptorEventCallback

harmony 鸿蒙Input_InterceptorOptions

harmony 鸿蒙Input_KeyEvent

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/mRpBIQ