# HG changeset patch # User Edgar Simo # Date 1217934856 0 # Node ID e9641d2250e56152c01d09811c3715b4263da718 # Parent 5b8f8151e66df89e36647817ab25cd2ebd8b96e5 With no axes use spherical direction by default. diff -r 5b8f8151e66d -r e9641d2250e5 src/haptic/win32/SDL_syshaptic.c --- a/src/haptic/win32/SDL_syshaptic.c Tue Aug 05 11:08:59 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Tue Aug 05 11:14:16 2008 +0000 @@ -513,6 +513,7 @@ /* Handle no axes a part. */ if (naxes == 0) { + effect->dwFlags |= DIEFF_SPHERICAL; /* Set as default. */ effect->rglDirection = NULL; return 0; }