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.
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 joystick. c.X52 2006-05-25 06:24:14.000000000 +0900
+++ src/freeglut_
@@ -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.