OH_Input_GetMouseEventAxisValue

Function OH_Input_GetMouseEventAxisValue 

Source
pub unsafe extern "C" fn OH_Input_GetMouseEventAxisValue(
    mouseEvent: *const Input_MouseEvent,
) -> f32
Available on crate feature api-12 only.
Expand description

Obtains the axis value of a mouse event.

§Arguments

  • mouseEvent - Mouse event object.

§Returns

  • Axis value.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12