IOHIDManagerSetProperty
Sets a property for an IOHIDManager.
Declaration
Boolean IOHIDManagerSetProperty(IOHIDManagerRef manager, CFStringRef key, CFTypeRef value);Parameters
- manager:
Reference to an IOHIDManager.
- key:
CFStringRef containing key to be used when modifiying the device property.
- value:
CFTypeRef containing the property value to be set.
Return Value
Returns TRUE if successful.
Discussion
Property keys are prefixed by kIOHIDDevice and kIOHIDManager and declared in <IOKit/hid/IOHIDKeys.h>. This method will propagate any relevent properties to current and future devices that are enumerated.
See Also
Miscellaneous
IOHIDManagerCloseIOHIDManagerCopyDevicesIOHIDManagerCreateIOHIDManagerGetPropertyIOHIDManagerGetTypeIDIOHIDManagerOpenIOHIDManagerRegisterDeviceMatchingCallbackIOHIDManagerRegisterDeviceRemovalCallbackIOHIDManagerRegisterInputReportCallbackIOHIDManagerRegisterInputValueCallbackIOHIDManagerSaveToPropertyDomainIOHIDManagerScheduleWithRunLoopIOHIDManagerSetDeviceMatchingIOHIDManagerSetDeviceMatchingMultipleIOHIDManagerSetInputValueMatchingIOHIDManagerSetInputValueMatchingMultipleIOHIDManagerUnscheduleFromRunLoop