Mercurial > sdl-ios-xcode
diff src/haptic/win32/SDL_syshaptic.c @ 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 | 9408be170bff |
children | ff33a65123ce |
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)) {