Contents

IOHIDDeviceSetInputValueMatching

Sets matching criteria for input values received via IOHIDDeviceRegisterInputValueCallback.

Declaration

void IOHIDDeviceSetInputValueMatching(IOHIDDeviceRef device, CFDictionaryRef matching);

Parameters

  • manager:

    Reference to an IOHIDDevice.

  • matching:

    CFDictionaryRef containg device matching criteria.

Discussion

Matching keys are prefixed by kIOHIDElement and declared in <IOKit/hid/IOHIDKeys.h>. Passing a NULL dictionary will result in all devices being enumerated. Any subsequent calls will cause the hid manager to release previously matched input elements and restart the matching process using the revised criteria. If interested in multiple, specific device elements, please defer to using IOHIDDeviceSetInputValueMatchingMultiple.

See Also

Miscellaneous