src/haptic/darwin/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2559 42b682e85546
parent 2557 30778d9d8bff
child 2561 3696b9ce8a37
--- 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;
    }