Using IOHIDManager to Get Modifier Key Events
I figured it out. The way to do it is to use the Generic Desktop Page (0x01) Keyboard (06) (and Keypad (07) for completeness) for use with IOHIDManagerSetDeviceMatchingMultiple, and then the input value callback gets Keyboard/Keypad Usage Page (0x07) stuff. For example, to setup a an HIDManager for all keyboards/keypads, one could do something like: … Read more