OH_Input_GetMouseEventAction

Function OH_Input_GetMouseEventAction 

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

Obtains the action of a mouse event.

§Arguments

  • mouseEvent - Mouse event object.

§Returns

  • Mouse action.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12