informativeTextWithFormat:@"Error 0x%08x occured trying to access your devices. "
@"Input may not be correctly detected or mapped.",
ret]
- runModal];
+ beginSheetModalForWindow:outlineView.window
+ modalDelegate:nil
+ didEndSelector:nil
+ contextInfo:nil];
}
IOHIDManagerRegisterDeviceMatchingCallback(hidManager, add_callback, (__bridge void *)self);