Temporary band-aid for bug #575
authorSam Lantinga <slouken@libsdl.org>
Tue, 29 Sep 2009 00:42:21 +0000
changeset 3326 11c079bb52a8
parent 3325 bb9c3d04f126
child 3327 35387815b155
Temporary band-aid for bug #575 It looks like newer kernels do the logical device mapping in the driver, so this code crashes. I don't have one of these nor do I have remote access to debug this, so I'm disabling the logical mapping for now.
src/joystick/linux/SDL_sysjoystick.c
--- a/src/joystick/linux/SDL_sysjoystick.c	Mon Sep 28 18:44:26 2009 +0000
+++ b/src/joystick/linux/SDL_sysjoystick.c	Tue Sep 29 00:42:21 2009 +0000
@@ -60,6 +60,9 @@
     "Saitek Saitek X45", 6, 1, 0}
 };
 
+/* It looks like newer kernels have the logical mapping at the driver level */
+#define NO_LOGICAL_JOYSTICKS
+
 #ifndef NO_LOGICAL_JOYSTICKS
 
 /*