pub unsafe extern "C-unwind" fn IOHIDPostEvent(
connect: io_connect_t,
event_type: u32,
location: IOGPoint,
event_data: *const NXEventData,
event_data_version: u32,
event_flags: IOOptionBits,
options: IOOptionBits,
) -> kern_return_t👎Deprecated: Use CGSEventTap for posting HID events, IOHIDUserDevice for simulating HID device, IOPMAssertionDeclareUserActivity for reporting user activity
Available on crate features
graphics and hidsystem and libc only.