iohidmanager 0.10.4

Safe Rust bindings for Apple's IOKit HID — enumerate, inspect, and subscribe to HID devices on macOS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
import Foundation
import IOKit.hid

@_cdecl("iohidmanager_swift_event_keyboard_no_repeat")
public func iohidmanager_swift_event_keyboard_no_repeat() -> UInt32 {
    kIOHIDKeyboardEventOptionsNoKeyRepeat.rawValue
}

@_cdecl("iohidmanager_swift_event_sensor_control_decimation")
public func iohidmanager_swift_event_sensor_control_decimation() -> UInt32 {
    kIOHIDServiceSensorControlDecimation.rawValue
}