Controlify icon indicating copy to clipboard operation
Controlify copied to clipboard

Better HID communication

Open isXander opened this issue 2 years ago • 1 comments

Currently, Controlify uses hid4java to detect the vendor and product ID of controllers, as well as communicate with them with HID protocol in some cases. This works, however because it is completely not correlated with the actual connected controllers, connection order must match. In some cases, Bluetooth controllers are also not detected through this library. Another issue: this library does not seem to include natives for macOS ARM, which severely degrades controller detection on M1 & M2 machines.

SDL, a library that is already in use by Controlify, offers built-in HID communication, which is already correlated to controllers. However, this means I will need to update my sdl2-jni library, which is very error-prone.

isXander avatar Jul 10 '23 16:07 isXander

Partially implemented in 45e859bdb158fa837979449c796d24134b133257

isXander avatar Jul 10 '23 17:07 isXander