Skip to main content

CGEventSourceButtonState

Function CGEventSourceButtonState 

Source
pub extern "C-unwind" fn CGEventSourceButtonState(
    state_id: CGEventSourceStateID,
    button: CGMouseButton,
) -> bool
👎Deprecated:

renamed to CGEventSource::button_state

Available on crate features CGEventSource and CGEventTypes only.