changeset 2650:77b5f12bfe11 gsoc2008_force_feedback

Yep, 0 is the correct value here
author Sam Lantinga <slouken@libsdl.org>
date Mon, 25 Aug 2008 09:58:51 +0000
parents 7961f1f74dc8
children ff33a65123ce
files src/haptic/win32/SDL_syshaptic.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)) {