We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5388

Summary: [Patch] Use hid_blacklist on all platform
Product: SDL Reporter: Mathieu Eyraud <meyraud705>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.13   
Hardware: x86_64   
OS: All   
Attachments: hidapi: use blacklist on libusb, linux and mac

Description Mathieu Eyraud 2020-12-10 09:18:56 UTC
Created attachment 4564 [details]
hidapi: use blacklist on libusb, linux and mac

Windows version of hidapi uses a blacklist to ignore device that behave badly. This patch make libusb, Linux and Mac version check the blacklist too.
Comment 1 Sam Lantinga 2020-12-10 23:45:29 UTC
What's the motivation for this?

These are workarounds for bad Windows drivers. I haven't seen problems with these devices on Mac and Linux, have you?
Comment 2 Mathieu Eyraud 2020-12-11 09:28:09 UTC
I haven't had problem with these devices. I just thought they had hardware bug.

If the blacklist is only for driver bug then you can ignore this patch.
Comment 3 Sam Lantinga 2020-12-13 03:26:40 UTC
Yeah, I think these are just driver bugs.

Thanks!