• Sam Lantinga's avatar
    Date: Fri, 05 Mar 2004 16:08:01 +0000 · 561b81ad
    Sam Lantinga authored
    From: Alan Swanson
    Subject: Re: [SDL] Fatal signal when initiaize with USB joystick on 2.6.2 kern
    
    On Fri, 2004-03-05 at 15:09, Sam Lantinga wrote:
    > > Fred, how does the attached patch work for you? Do all your axes work?
    >
    > I think you meant the two lines to be reversed.
    > I checked a more robust version of this into CVS.  Fred, can you see if
    > it works?
    
    You've misread the code. :-/
    
    For coef[0] and coef[1], it is (values[2]+values[1]) / 2 and then add
    or subtract values[4] to the answer.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40873
    561b81ad
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...