HIDDriverKit
Develop drivers for human-interface devices, such as keyboards, pointing devices, and digitizers like pens and touch pads.
Overview
The HIDDriverKit framework provides C++ classes for developing drivers for human interface devices. HIDDriverKit uses the core types defined in DriverKit, and adds features specific to human interface device development.
Develop your driver with DriverKit and HIDDriverKit, and package it in an app that uses the System Extensions framework to install and upgrade the driver on the user’s Mac.
Topics
Essentials
com.apple.developer.driverkit.transport.hidHandling Keyboard Events from a Human Interface DeviceHandling Stylus Input from a Human Interface Device
Samples
Driver Interfaces
com.apple.developer.driverkit.family.hid.eventserviceIOUserHIDEventDriverIOUserHIDEventServiceIOHIDEventService
Providers
com.apple.developer.driverkit.family.hid.deviceIOHIDInterfaceIOUserUSBHostHIDDeviceIOUserHIDDeviceIOHIDDevice
Events
HID Usage Tables
HID Device Data
Reference
Macros
kIOHIDDeviceApprovedCarPlayDeviceKeykIOHIDDeviceCarPlayDeviceKeykIOHIDDeviceHIDRMHashKeykIOHIDEventServicePropertiesRequiredForMatchingkIOHIDEventServiceSensorControlOptionsKeykIOHIDSupportedEventMaskKeykIOHIDSupportedKeyboardUsagePairsKeykIOHIDSupportedVendorUsagePairsKey
Enumeration Cases
kHIDUsage_GenDevControls_BatteryStrengthkHIDUsage_LED_BlueLEDChannelkHIDUsage_LED_GoodStatuskHIDUsage_LED_GreenLEDChannelkHIDUsage_LED_IndicatorBluekHIDUsage_LED_IndicatorOrangekHIDUsage_LED_LEDIntensitykHIDUsage_LED_RGB_LEDkHIDUsage_LED_RedLEDChannelkHIDUsage_LED_SystemMicrophoneMutekHIDUsage_LED_WarningStatuskHIDUsage_Snsr_Biometric_HeartRatekHIDUsage_Snsr_Data_Biometric_HeartRatekHIDUsage_Snsr_Data_HingekHIDUsage_Snsr_Data_Hinge_AnglekHIDUsage_Snsr_Motion_GravityVectorkHIDUsage_Snsr_Motion_LinearAccelerometerkHIDUsage_Snsr_Other_HingeAngle