• Sam Lantinga's avatar
    Date: Tue, 16 Mar 2004 12:40:33 +0000 · 77e3c78b
    Sam Lantinga authored
    From: Alan Swanson
    Subject: [SDL] [PATCH] Linux joystick evdev axis count fix
    
    The event device configuration under Linux does not check the returned
    ioctl value when reading the axis information. This means extra
    undefined axes are returned.
    
    Note, in EV_HandleEvents, the default for case EV_ABS is to return any
    axis information which is fine as we have already checked for all valid
    absolute axes. No new axes should be returned after opening the device.
    
    (Unless, of course, the evdev allows closing and reassigning a new
    device while in use and I can't believe that happens.)
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40897
    77e3c78b
Name
Last commit
Last update
..
amigaos Loading commit data...
beos Loading commit data...
bsd Loading commit data...
darwin Loading commit data...
dc Loading commit data...
dummy Loading commit data...
linux Loading commit data...
macos Loading commit data...
mint Loading commit data...
riscos Loading commit data...
win32 Loading commit data...
.cvsignore Loading commit data...
Makefile.am Loading commit data...
SDL_joystick.c Loading commit data...
SDL_joystick_c.h Loading commit data...
SDL_sysjoystick.h Loading commit data...