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 4942

Summary: Linux: enhance detection of gamepads
Product: SDL Reporter: Paul Cercueil <paul>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 1.2   
Hardware: All   
OS: Linux   
Attachments: Patch to fix the issue
patch to fix warning

Description Paul Cercueil 2020-01-13 18:11:26 UTC
Created attachment 4158 [details]
Patch to fix the issue

Detect gamepads that use a D-pad instead of an analog stick.
Comment 1 Ozkan Sezer 2020-09-22 02:07:02 UTC
This patch is in. Thanks.
http://hg.libsdl.org/SDL/rev/1c7030e282b0
Comment 2 Ozkan Sezer 2020-09-22 02:07:27 UTC
closing.
Comment 3 Ozkan Sezer 2020-09-22 18:52:40 UTC
Created attachment 4467 [details]
patch to fix warning

Paul:  Will apply the attached patch to fix -Wparentheses
warning after your patch.  OK?
Comment 4 Paul Cercueil 2020-09-22 19:28:57 UTC
(In reply to Ozkan Sezer from comment #3)
> Created attachment 4467 [details]
> patch to fix warning
> 
> Paul:  Will apply the attached patch to fix -Wparentheses
> warning after your patch.  OK?

Sure, no problem.
Comment 5 Ozkan Sezer 2020-09-22 20:01:01 UTC
https://hg.libsdl.org/SDL/rev/6eaf4aee7940