diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 2082b6d287..84a4b9eb4b 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c @@ -1195,6 +1195,10 @@ int SDL_hid_init(void) return -1; } +#ifdef __MACOS__ + hid_darwin_set_open_exclusive(0); +#endif + ++SDL_hidapi_refcount; return 0; }