pub unsafe extern "C" fn OH_Input_GetAxisEventAction(
axisEvent: *const Input_AxisEvent,
action: *mut InputEvent_AxisAction,
) -> Input_ResultAvailable on crate feature
api-12 only.Expand description
Obtains the axis event action.
§Arguments
-
axisEvent- Axis event object. For details, seeInput_AxisEvent. -
action- Axis event action. The values are defined inInputEvent_AxisAction.
§Returns
- OH_Input_GetAxisEventAction function result code.
[
INPUT_SUCCESS] Obtains the axis event action success.
[INPUT_PARAMETER_ERROR] The axisEvent is NULL or the action is NULL.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 12