internal static extern IOReturn IOHIDDeviceSetReportWithCallback( IOHIDDeviceRef device, IOHIDReportType reportType, int reportID, IntPtr report, int reportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context); //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
internal static extern IOReturn IOHIDDeviceSetReportWithCallback( IOHIDDeviceRef device, IOHIDReportType reportType, int reportID, IntPtr report, int reportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context) ;//AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
internal static extern CFRunLoopExitReason CFRunLoopRunInMode( CFStringRef cfstrMode, CFTimeInterval interval, bool returnAfterSourceHandled);
internal static extern CFRunLoopExitReason CFRunLoopRunInMode( CFStringRef cfstrMode, CFTimeInterval interval, bool returnAfterSourceHandled);