Mercurial > sdl-ios-xcode
diff src/haptic/darwin/SDL_syshaptic.c @ 2610:71a835ee438a gsoc2008_force_feedback
Added FFEFF_OBJECTOFFSETS to darwin port.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:52:22 +0000 |
parents | eec0c81ede06 |
children | 265ced2079bd |
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c Tue Aug 05 18:26:11 2008 +0000 +++ b/src/haptic/darwin/SDL_syshaptic.c Tue Aug 05 18:52:22 2008 +0000 @@ -602,6 +602,7 @@ dest->dwSize = sizeof(FFEFFECT); /* Set the structure size. */ dest->dwSamplePeriod = 0; /* Not used by us. */ dest->dwGain = 10000; /* Gain is set globally, not locally. */ + dest->dwFlags = FFEFF_OBJECTOFFSETS; /* Seems obligatory. */ /* Envelope. */ envelope = SDL_malloc( sizeof(FFENVELOPE) );