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 <i>Freespace 2</i>. 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 },
(In reply to comment #0) > Freespace 2 See ebuild in bug #107081
Has this patch been sent upstream?
(This patch was just applied to upstream's Subversion repository, thanks!) --ryan.