OH_Input_SetMouseEventAction

Function OH_Input_SetMouseEventAction 

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

Sets the action for a mouse event.

ยงArguments

  • mouseEvent - Mouse event object.

  • action - Mouse action.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12