Allow other applications to open controllers on macOS
This commit is contained in:
1 parent
6815e75caf
commit
fa41ece65f
1 file changed
+4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user