Mercurial > sdl-ios-xcode
diff src/haptic/darwin/SDL_syshaptic.c @ 2559:42b682e85546 gsoc2008_force_feedback
Allow effects with no axes.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 30 Jul 2008 18:29:55 +0000 |
parents | 30778d9d8bff |
children | 3696b9ce8a37 |
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c Wed Jul 30 18:22:45 2008 +0000 +++ b/src/haptic/darwin/SDL_syshaptic.c Wed Jul 30 18:29:55 2008 +0000 @@ -541,6 +541,7 @@ /* Handle no axes a part. */ if (naxes == 0) { + effect->dwFlags |= FFEFF_SPHERICAL; /* Set as default. */ effect->rglDirection = NULL; return 0; }