Ihor Dutchak
Ihor Dutchak
> Unfortunately, on windows the second hid_open_path function returns a handle that is not identical to the provided handle. Sounds about right for all platforms, not only for Windows. >...
Instead of using "hacks" to make it functional I'd rather suggest to refactor libusb backend of HIDAPI and switch to C11 instead of using POSIX/pthread API. That way we will...
Do those devices have the same usage/usage_page pairs? Have you tried the same device on Windows?
> some do not This is unexpected. > Some do That is expected. That is the only way to check supported usage/usage_page-s of the device - report same device multiple...
> @Youw please check if this can be done for different OS. Thanks. #315
> I already did: mixxxdj/mixxx@5c58257 If you want that to work any platform (Windows) you should not assume device uniqueness (by the functionality) by the device path, but rather by...
> VID+PID+USAGE+USAGE_PAGE may not be enough VID+PID+**SERIAL_NUMBER**+USAGE+USAGE_PAGE ?
> it also inherently doesn't work Samples please. I've tried standalone builds and a subproject dependencies - all compiles and runs just fine. > it's a sandbox violation Please elaborate....
That I don't like either... Maybe I can improve it someohow - need to check.
Are you sure this is the latest commit of the branch?