Mercurial > sdl-ios-xcode
diff src/haptic/win32/SDL_syshaptic.c @ 2605:0ea3be6e81a7 gsoc2008_force_feedback
Make sure axes have force feedback actuators.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 16:13:11 +0000 |
parents | 4eee4d565368 |
children | bb175d957174 |
line wrap: on
line diff
--- a/src/haptic/win32/SDL_syshaptic.c Tue Aug 05 16:02:56 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Tue Aug 05 16:13:11 2008 +0000 @@ -231,7 +231,7 @@ { SDL_Haptic *haptic = (SDL_Haptic *) pvRef; - if (dev->dwType & DIDFT_AXIS) { + if ((dev->dwType & DIDFT_AXIS) && (dev->dwFlags & DIDOI_FFACTUATOR)) { haptic->naxes++;