# HG changeset patch # User Sam Lantinga # Date 1219658331 0 # Node ID 77b5f12bfe115a3a618c6f7354757676dc159711 # Parent 7961f1f74dc8a1dcade702909127c5e27d1dab1f Yep, 0 is the correct value here diff -r 7961f1f74dc8 -r 77b5f12bfe11 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)) {