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