Yep, 0 is the correct value here gsoc2008_force_feedback
authorSam Lantinga <slouken@libsdl.org>
Mon, 25 Aug 2008 09:58:51 +0000
branchgsoc2008_force_feedback
changeset 265077b5f12bfe11
parent 2649 7961f1f74dc8
child 2651 ff33a65123ce
Yep, 0 is the correct value here
src/haptic/win32/SDL_syshaptic.c
     1.1 --- a/src/haptic/win32/SDL_syshaptic.c	Mon Aug 25 09:58:14 2008 +0000
     1.2 +++ b/src/haptic/win32/SDL_syshaptic.c	Mon Aug 25 09:58:51 2008 +0000
     1.3 @@ -184,7 +184,7 @@
     1.4  
     1.5     /* Look for haptic devices. */
     1.6     ret = IDirectInput_EnumDevices( dinput,
     1.7 -                                   0, /* Not sure if this is legal, but gets all devices. */
     1.8 +                                   0,
     1.9                                     EnumHapticsCallback,
    1.10                                     NULL, DIEDFL_FORCEFEEDBACK | DIEDFL_ATTACHEDONLY);
    1.11     if (FAILED(ret)) {