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 2650 77b5f12bfe11
parent 2649 7961f1f74dc8
child 2651 ff33a65123ce
Yep, 0 is the correct value here
src/haptic/win32/SDL_syshaptic.c
--- a/src/haptic/win32/SDL_syshaptic.c	Mon Aug 25 09:58:14 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Mon Aug 25 09:58:51 2008 +0000
@@ -184,7 +184,7 @@
 
    /* Look for haptic devices. */
    ret = IDirectInput_EnumDevices( dinput,
-                                   0, /* Not sure if this is legal, but gets all devices. */
+                                   0,
                                    EnumHapticsCallback,
                                    NULL, DIEDFL_FORCEFEEDBACK | DIEDFL_ATTACHEDONLY);
    if (FAILED(ret)) {