typedef struct Input_AxisEvent Input_AxisEvent
Defines an axis event object, which is used to represent axis event data from an input device, such as joystick movement on a gamepad and mouse wheel scrolling. You can obtain axis value changes from the input device through axis events to implement precise input control and enhance user interaction experience.
Since: 12
Related module: input
Header file: oh_input_manager.h
Related APIs:
| Name | Description |
|---|---|
| OH_Input_CreateAxisEvent | Creates an axis event object. You can call OH_Input_DestroyAxisEvent to destroy an axis event object. |
| OH_Input_DestroyAxisEvent | Destroys an axis event object. |