pub unsafe extern "C" fn OH_ArkUI_MouseEvent_GetMouseButton(
event: *const ArkUI_UIInputEvent,
) -> i32Available on crate feature
api-12 only.Expand description
@brief Get the value of the button type for mouse events.
@param event Represents a pointer to the current UI input event. @return Return to the mouse button type, where 1 is the left button, 2 is the right button, 3 is the middle button, 4 is the back button, and 5 is the forward button. @since 12