src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2599 e9641d2250e5
parent 2598 5b8f8151e66d
child 2600 d1140f0ebedf
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. */