Are there any examples showing USB I/O using DriverKit apis?
DriverKit - USB Examples
The System Extensions and DriverKit session from last year's WWDC shows an example USB DriverKit driver (https://developer.apple.com/videos/play/wwdc2019/702/). There is also documentation for the USBDriverKit framework here: https://developer.apple.com/documentation/usbdriverkit
Yes, we have review the USBApp example.
It is incomplete and even contains the comments:
// WWDC slides don't show the full function
// i.e. this is still unfinished.
The usb (and all driverkit) documentation contains little information other than the names of the functions and their arguements.
Apple previously released sample USB networking drivers in source that provided enough information to understand how to setup the I/O properly.
It is incomplete and even contains the comments:
// WWDC slides don't show the full function
// i.e. this is still unfinished.
The usb (and all driverkit) documentation contains little information other than the names of the functions and their arguements.
Apple previously released sample USB networking drivers in source that provided enough information to understand how to setup the I/O properly.
There are several DriverKit resources available in addition to https://developer.apple.com/documentation/driverkit?language=objc
Matching Behaviors & DriverKit
Code signing & DriverKit
You probably want to review this one based on your questions Handling Keyboard events from a HID device -- Sample App
Handling Stylus input from a HID device -- Sample App
Matching Behaviors & DriverKit
Code signing & DriverKit
You probably want to review this one based on your questions Handling Keyboard events from a HID device -- Sample App
Handling Stylus input from a HID device -- Sample App