pub unsafe extern "C" fn OH_Input_SetAxisEventGlobalY(
axisEvent: *mut Input_AxisEvent,
globalY: i32,
) -> Input_ResultAvailable on crate feature
api-20 only.Expand description
Set the global Y coordinate of the axis event.
§Arguments
-
axisEvent- Axis event object. For details, seeInput_AxisEvent. -
globalY- Global Y coordinate.
§Returns
- OH_Input_SetAxisEventGlobalY function result code.
[
INPUT_SUCCESS] Success.
[INPUT_PARAMETER_ERROR] The axisEvent is NULL.
Available since API-level: 20