Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
With no axes use spherical direction by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Aug 5, 2008
1 parent 0de409c commit 286a063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -513,6 +513,7 @@ SDL_SYS_SetDirection( DIEFFECT * effect, SDL_HapticDirection *dir, int naxes )

/* Handle no axes a part. */
if (naxes == 0) {
effect->dwFlags |= DIEFF_SPHERICAL; /* Set as default. */
effect->rglDirection = NULL;
return 0;
}
Expand Down

0 comments on commit 286a063

Please sign in to comment.