pub extern "C-unwind" fn CGEventCreateKeyboardEvent(
source: Option<&CGEventSource>,
virtual_key: CGKeyCode,
key_down: bool,
) -> Option<CFRetained<CGEvent>>👎Deprecated:
renamed to CGEvent::new_keyboard_event
Available on crate features
CGEvent and CGEventTypes and CGRemoteOperation only.