[Bug 45930] Re: jstest SEGFAULTs with usb joystick
Emmet Hikory
emmet.hikory at gmail.com
Wed May 24 21:27:42 UTC 2006
The problem with flightgear is actually a problem with all games that
use the freeglut input library. The required patch follows:
--- src/freeglut_joystick.c 2005-05-04 21:53:48.000000000 +0900
+++ src/freeglut_joystick.c.X52 2006-05-25 06:24:14.000000000 +0900
@@ -45,7 +45,7 @@
/* XXX It might be better to poll the operating system for the numbers of buttons and
* XXX axes and then dynamically allocate the arrays.
*/
-#define _JS_MAX_BUTTONS 32
+#define _JS_MAX_BUTTONS 48
#if TARGET_HOST_MACINTOSH
# define _JS_MAX_AXES 9
I'll submit a bug and debdiff this weekend (unless someone beats me
to it), but that doesn't address the issue with jstest.
--
jstest SEGFAULTs with usb joystick
https://launchpad.net/bugs/45930
More information about the kernel-bugs
mailing list