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 1891

Summary: [Patch] Incorrect GameController mapping for PS3 controller in OS X
Product: SDL Reporter: Alex Szpakowski <amaranth72>
Component: joystickAssignee: (disabled) Jørgen Tjernø <jorgen>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Mac OS X 10.8   
Attachments: Patch to fix PS3 GameController mapping in OS X

Description Alex Szpakowski 2013-06-04 16:17:39 UTC
Created attachment 1173 [details]
Patch to fix PS3 GameController mapping in OS X

The Playstation 3 Dualshock 3 GameController mapping is incorrect for me in Mac OS 10.8.3: the dpadleft and dpaddown buttons are switched, as are the "x" and "y" buttons.

I have attached a diff file which fixes the bindings for me.
Comment 1 (disabled) Jørgen Tjernø 2013-06-05 15:49:25 UTC
Thanks, fixed in http://hg.libsdl.org/SDL/rev/1290cd7f34af