• Sam Lantinga's avatar
    Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices) · d5af47a5
    Sam Lantinga authored
     Edgar Simo      2011-02-20 09:02:31 PST
    
    Linux uses fname, which is the name of the device path like for example
    /dev/input/event3 so it shouldn't have the issue. However I can confirm that it
    looks like haptic->index never gets properly set on windows. Have to look at
    mac os x also. I'll see if I can fix it real quick now.
    d5af47a5
SDL_syshaptic.c 38.6 KB