We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e030825 commit f46fa65Copy full SHA for f46fa65
src/libfreenect2.cpp
@@ -370,6 +370,10 @@ class Freenect2Impl
370
LOG_ERROR << "failed to create usb context: " << WRITE_LIBUSB_ERROR(r);
371
return;
372
}
373
+
374
+#if defined(_WIN32) || defined (__WIN32__) || defined(__WINDOWS__)
375
+ (void)libusb_set_option(usb_context_, LIBUSB_OPTION_USE_USBDK);
376
+#endif
377
378
379
usb_event_loop_.start(usb_context_);
0 commit comments