[patch] OSX Joystick patches

Hi, I have a Saitek p2550 gamepad which has a d-pad, two analog sticks, and numerous buttons. On OSX, the right stick was not recognized. I determined that stick was categorized as simulation rudder/throttle devices which the current code ignores. I added a case block for them and it now works just fine.

Here are the patches:

2.0: http://bugzilla.libsdl.org/show_bug.cgi?id=2024

1.2: http://bugzilla.libsdl.org/show_bug.cgi?id=2025

The code change for both versions is the same, but I created two items so it’s on the list for both versions.

An interesting side note: I also have a Saitek ST290 flight stick which has a twist rudder and separate analog throttle. Strangely, those are identified as regular joystick axes and worked fine without my patch.

Regards, Patrick

Patches are in, thanks!On Fri, Aug 9, 2013 at 2:24 PM, pmaloney <patrick_maloney at hotmail.com>wrote:

**
Hi, I have a Saitek p2550 gamepad which has a d-pad, two analog sticks,
and numerous buttons. On OSX, the right stick was not recognized. I
determined that stick was categorized as simulation rudder/throttle devices
which the current code ignores. I added a case block for them and it now
works just fine.

Here are the patches:

2.0: http://bugzilla.libsdl.org/show_bug.cgi?id=2024

1.2: http://bugzilla.libsdl.org/show_bug.cgi?id=2025

The code change for both versions is the same, but I created two items so
it’s on the list for both versions.

An interesting side note: I also have a Saitek ST290 flight stick which
has a twist rudder and separate analog throttle. Strangely, those are
identified as regular joystick axes and worked fine without my patch.

Regards, Patrick


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

You’re welcome!