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 - [Patch] Use hid_blacklist on all platform
Summary: [Patch] Use hid_blacklist on all platform
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.13
Hardware: x86_64 All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-10 09:18 UTC by Mathieu Eyraud
Modified: 2020-12-13 03:26 UTC (History)
0 users

See Also:


Attachments
hidapi: use blacklist on libusb, linux and mac (4.84 KB, patch)
2020-12-10 09:18 UTC, Mathieu Eyraud
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!