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 1692

Summary: Various fixes to the GameController API
Product: SDL Reporter: Edward Rudd <urkle>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: All   
Attachments: Consolidate the iterating of the mapping array.
Fix bad axis mapping to button.
Fix a few issues with the handling of HATs

Description Edward Rudd 2013-01-12 14:36:11 UTC
Here 3 patches to fix some issues and bugs with the GameController API.
Comment 1 Edward Rudd 2013-01-12 14:36:44 UTC
Created attachment 1018 [details]
Consolidate the iterating of the mapping array.
Comment 2 Edward Rudd 2013-01-12 14:37:11 UTC
Created attachment 1019 [details]
Fix bad axis mapping to button.
Comment 3 Edward Rudd 2013-01-12 14:37:57 UTC
Created attachment 1020 [details]
Fix a few issues with the handling of HATs
Comment 4 Sam Lantinga 2013-02-11 11:27:15 UTC
These patches are in, thanks!
Comment 5 Edward Rudd 2013-02-11 11:28:19 UTC
SWEET!!1.. Thanks Sam.   Now I can finally re-base locally and polish off my new functionality for GameController!
Comment 6 Sam Lantinga 2013-02-11 20:45:42 UTC
You're welcome!  Thanks for the patches! :)