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_keys_queue_enqueue_all")
public func iohidmanager_swift_keys_queue_enqueue_all() -> UInt32 {
    UInt32(kIOHIDQueueOptionsTypeEnqueueAll)
}

@_cdecl("iohidmanager_swift_keys_standard_type_ansi")
public func iohidmanager_swift_keys_standard_type_ansi() -> UInt32 {
    UInt32(kIOHIDStandardTypeANSI)
}