Mercurial > sdl-ios-xcode
changeset 4261:0530394b5830 SDL-1.2
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 29 Sep 2009 00:37:36 +0000 |
parents | 42d28f92253b |
children | 800f3cb78e45 |
files | src/joystick/linux/SDL_sysjoystick.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick.c Mon Sep 28 18:21:58 2009 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Tue Sep 29 00:37:36 2009 +0000 @@ -59,6 +59,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 /*