kopia lustrzana https://gitlab.com/eliggett/wfview
Very minor thing to help compiling with older hidapi.
rodzic
6a76efa368
commit
bbbfe38e0b
|
@ -65,8 +65,10 @@ void usbController::init(int sens)
|
|||
}
|
||||
else {
|
||||
|
||||
#ifdef HID_API_VERSION_MAJOR
|
||||
#if defined(__APPLE__) && HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
|
||||
hid_darwin_set_open_exclusive(0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
qInfo(logUsbControl()) << "Found available HID devices (not all will be suitable for use):";
|
||||
|
|
Ładowanie…
Reference in New Issue