From d0b2e777c0b812eeb64e276a6d549f1a23dc53ed Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 25 Aug 2008 09:58:51 +0000 Subject: [PATCH] Yep, 0 is the correct value here --- src/haptic/win32/SDL_syshaptic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haptic/win32/SDL_syshaptic.c b/src/haptic/win32/SDL_syshaptic.c index 9bc613d75..e57edfcf3 100644 --- a/src/haptic/win32/SDL_syshaptic.c +++ b/src/haptic/win32/SDL_syshaptic.c @@ -184,7 +184,7 @@ SDL_SYS_HapticInit(void) /* 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)) {