comparison src/haptic/win32/SDL_syshaptic.c @ 2599:e9641d2250e5 gsoc2008_force_feedback

With no axes use spherical direction by default.
author Edgar Simo <bobbens@gmail.com>
date Tue, 05 Aug 2008 11:14:16 +0000
parents 5b8f8151e66d
children d1140f0ebedf
comparison
equal deleted inserted replaced
2598:5b8f8151e66d 2599:e9641d2250e5
511 { 511 {
512 LONG *rglDir; 512 LONG *rglDir;
513 513
514 /* Handle no axes a part. */ 514 /* Handle no axes a part. */
515 if (naxes == 0) { 515 if (naxes == 0) {
516 effect->dwFlags |= DIEFF_SPHERICAL; /* Set as default. */
516 effect->rglDirection = NULL; 517 effect->rglDirection = NULL;
517 return 0; 518 return 0;
518 } 519 }
519 520
520 /* Has axes. */ 521 /* Has axes. */