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 - [PATCH] Update OSX Joystick code to fully support Saitek p2500 gamepad
Summary: [PATCH] Update 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 2.0
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 03:44 UTC by Patrick Maloney
Modified: 2013-08-10 13:58 UTC (History)
0 users

See Also:


Attachments
OSX Joystick Patch (979 bytes, application/octet-stream)
2013-08-09 03:44 UTC, Patrick Maloney
Details
OSX Joystick Patch (979 bytes, patch)
2013-08-09 03:45 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 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