From 3d053c3c96312b3310583d1c0e3a87ce358cd4a8 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Mon, 6 Feb 2023 15:54:35 +0000 Subject: [PATCH] Require exclusive access for MacOS --- usbcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbcontroller.cpp b/usbcontroller.cpp index b017894..ad7642a 100644 --- a/usbcontroller.cpp +++ b/usbcontroller.cpp @@ -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):";