Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft SideWinder Precision Pro misidentified by libsdl #277

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Microsoft SideWinder Precision Pro misidentified by libsdl #277

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 1.2
Reported for operating system, platform: Linux, Other

Comments on the original bug report:

On 2007-02-20 17:25:33 +0000, Mike Frysinger wrote:

forwarding from Gentoo bugzilla:

Using libsdl 1.2.11 and a GAMEPORT version of the Microsoft SideWinder
Precision Pro joystick, the library is looking for the kernel string
"SideWinder Precision Pro," but the kernel string reads "Microsoft SideWinder
Precision Pro." Flight
simulation games fail to identify the hat, and incorrectly claim that it has
six axes rather than four.

This was most annoying under the game Freespace 2. As there is no
ebuild for this game, I imagine this is a problem for nobody but me. :-)

This patch fixed the problem:

diff -u src/joystick/linux/SDL_sysjoystick.c.orig

src/joystick/linux/SDL_sysjoystick.c

--- src/joystick/linux/SDL_sysjoystick.c.orig 2006-05-11 20:02:32.000000000
-0700
+++ src/joystick/linux/SDL_sysjoystick.c 2006-11-25 12:40:47.000000000
-0800
@@ -48,6 +48,7 @@
} special_joysticks[] = {
{ "MadCatz Panther XL", 3, 2, 1 }, /* We don't handle rudder (axis 8)
*/
{ "SideWinder Precision Pro", 4, 1, 0 },

  •   { "Microsoft SideWinder Precision Pro", 4, 1, 0 },
      { "SideWinder 3D Pro", 4, 1, 0 },
      { "Microsoft SideWinder 3D Pro", 4, 1, 0 },
      { "Microsoft SideWinder Dual Strike USB version 1.0", 2, 1, 0 },
    

On 2007-02-20 17:56:19 +0000, Ryan C. Gordon wrote:

Fixed in svn revision # 2988 for the 1.3 branch, and # 2989 for the 1.2 branch.

Thanks!

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant