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 2024

Summary: [PATCH] Update OSX Joystick code to fully support Saitek p2500 gamepad
Product: SDL Reporter: Patrick Maloney <patrick_maloney>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Mac OS X 10.8   
See Also: http://bugzilla.libsdl.org/show_bug.cgi?id=2025
Attachments: OSX Joystick Patch
OSX Joystick Patch

Description Patrick Maloney 2013-08-09 03:44:02 UTC
Created attachment 1277 [details]
OSX Joystick Patch

Saitek p2500 (Cyborg Rumble Force Pad) has a D-pad, two analog sticks, and numerous buttons.  SDL 2.x on OSX detected everything except the right-side analog stick.  The right-side stick is considered a 'simulation device' with the axes mapped to throttle and rudder.

The patch adds support for throttle and rudder on the HID simulation page.
Comment 1 Patrick Maloney 2013-08-09 03:45:03 UTC
Created attachment 1278 [details]
OSX Joystick Patch
Comment 2 Patrick Maloney 2013-08-09 03:46:30 UTC
I reuploaded the patch file, marking it as a patch this time so the diff could be accessed.  Enjoy.
Comment 3 Sam Lantinga 2013-08-10 13:58:18 UTC
Patch applied, thanks!
http://hg.libsdl.org/SDL/rev/36e493277423