JibbSmart / JoyShockLibrary

Read DualSense, DualShock 4, JoyCon, and Pro Controller input on PC -- compiled for Windows, but code should work on other platforms.
Other
226 stars 42 forks source link

[MacOS] JslConnectDevices doesn't detect connected devices #45

Open benkuper opened 2 years ago

benkuper commented 2 years ago

Hello, this is a tricky one because I actually only have a VM to test and bluetooth devices don't pass through the VM, but since the library is externalized and there is no platform-specific code, I guess this comes from the lib. I have compiled it successfully for Mac and Unix and integrated it in Chataigne ( https://benjamin.kuperberg.fr/chataigne ) but I have multiple users reporting that it doesn't detect controllers on Mac. It is working just fine on windows. Not sure how I can check further without a dev setup on Mac (which I won't have for a while).

Those users say that JoyKeyMapper https://github.com/magicien/JoyKeyMapper is working just fine. But this is made using swift so I guess the device handling is different

I also noticed that QJoyControl https://github.com/erikmwerner/QJoyControl is using hidapi so there may be something to check there.