OH_Input_SetMouseEventDisplayId

Function OH_Input_SetMouseEventDisplayId 

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

Sets the displayId for a mouse event.

ยงArguments

  • mouseEvent - Mouse event object.

  • displayId - The displayId for a mouse event.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15