Skip to main content

CGEventSourceCreate

Function CGEventSourceCreate 

Source
pub extern "C-unwind" fn CGEventSourceCreate(
    state_id: CGEventSourceStateID,
) -> Option<CFRetained<CGEventSource>>
👎Deprecated:

renamed to CGEventSource::new

Available on crate features CGEventSource and CGEventTypes only.