src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2607 e0ca521516f6
parent 2606 bb175d957174
child 2609 eec0c81ede06
--- a/src/haptic/win32/SDL_syshaptic.c	Tue Aug 05 16:33:50 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Tue Aug 05 16:48:53 2008 +0000
@@ -152,7 +152,7 @@
 
    /* Look for haptic devices. */
    ret = IDirectInput_EnumDevices( dinput,
-                                   DIDEVTYPE_DEVICE,
+                                   0, /* Not sure if this is legal, but gets all devices. */
                                    EnumHapticsCallback,
                                    NULL, DIEDFL_FORCEFEEDBACK | DIEDFL_ATTACHEDONLY);
    if (FAILED(ret)) {