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 2025

Summary: [PATCH] Update 1.2 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 1.2   
Hardware: x86   
OS: Mac OS X 10.8   
See Also: http://bugzilla.libsdl.org/show_bug.cgi?id=2024
Attachments: OSX Joystick Patch

Description Patrick Maloney 2013-08-09 04:04:37 UTC
This is the patch for the 1.2 HG branch (patch for 2.0 is in Bug 2024).

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 04:05:32 UTC
Created attachment 1279 [details]
OSX Joystick Patch

Patch for 1.2 branch.
Comment 2 Sam Lantinga 2013-08-10 13:55:56 UTC
Patch applied, thanks!
http://hg.libsdl.org/SDL/rev/952791dbe6ba