kopia lustrzana https://gitlab.com/eliggett/wfview
Require exclusive access for MacOS
rodzic
872c8aee30
commit
3d053c3c96
|
@ -47,7 +47,7 @@ void usbController::init()
|
|||
else {
|
||||
|
||||
#if defined(__APPLE__) && HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
|
||||
hid_darwin_set_open_exclusive(0);
|
||||
hid_darwin_set_open_exclusive(1);
|
||||
#endif
|
||||
|
||||
qInfo(logUsbControl()) << "Found available HID devices (not all will be suitable for use):";
|
||||
|
|
Ładowanie…
Reference in New Issue