OH_Input_SetMouseEventButton

Function OH_Input_SetMouseEventButton 

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

Sets the button for a mouse event.

ยงArguments

  • mouseEvent - Mouse event object.

  • button - Mouse button.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12