IOKit-sys 0.1.5

FFI bindings for IOKit
1
2
3
4
5
6
7
8
9
// exports from <IOKit/hid/IOHIDKeys.h>

use libc::c_int;

pub type IOHIDReportType = c_int;
pub const kIOHIDReportTypeInput: IOHIDReportType   = 0;
pub const kIOHIDReportTypeOutput: IOHIDReportType  = 1;
pub const kIOHIDReportTypeFeature: IOHIDReportType = 2;
pub const kIOHIDReportTypeCount: IOHIDReportType   = 3;