IOHIDGetAccelerationWithKey

Function IOHIDGetAccelerationWithKey 

Source
pub unsafe extern "C-unwind" fn IOHIDGetAccelerationWithKey(
    handle: io_connect_t,
    key: Option<&CFString>,
    acceleration: *mut c_double,
) -> kern_return_t
๐Ÿ‘ŽDeprecated
Available on crate features hidsystem and libc only.
Expand description

ยงSafety

  • key might not allow None.
  • acceleration must be a valid pointer.