Skip to main content

CGEventSourceKeyState

Function CGEventSourceKeyState 

Source
pub extern "C-unwind" fn CGEventSourceKeyState(
    state_id: CGEventSourceStateID,
    key: CGKeyCode,
) -> bool
👎Deprecated:

renamed to CGEventSource::key_state

Available on crate features CGEventSource and CGEventTypes and CGRemoteOperation only.