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 - [PATCH] Update 1.2 OSX Joystick code to fully support Saitek p2500 gamepad
Summary: [PATCH] Update 1.2 OSX Joystick code to fully support Saitek p2500 gamepad
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 1.2
Hardware: x86 Mac OS X 10.8
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-09 04:04 UTC by Patrick Maloney
Modified: 2013-08-10 13:55 UTC (History)
0 users

See Also:


Attachments
OSX Joystick Patch (1.09 KB, patch)
2013-08-09 04:05 UTC, Patrick Maloney
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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