Contents

IOHIDDeviceScheduleWithRunLoop

Schedules HID device with run loop.

Declaration

void IOHIDDeviceScheduleWithRunLoop(IOHIDDeviceRef device, CFRunLoopRef runLoop, CFStringRef runLoopMode);

Parameters

  • device:

    Reference to an IOHIDDevice.

  • runLoop:

    RunLoop to be used when scheduling any asynchronous activity.

  • runLoopMode:

    Run loop mode to be used when scheduling any asynchronous activity.

Discussion

Formally associates device with client's run loop. Scheduling this device with the run loop is necessary before making use of any asynchronous APIs.

See Also

Miscellaneous