Lines Matching refs:naxes
474 haptic->naxes = ((features.numFfAxes) > 3) ? 3 : features.numFfAxes; in GetSupportedFeatures()
477 haptic->naxes * sizeof(Uint8)); in GetSupportedFeatures()
732 SDL_SYS_SetDirection(FFEFFECT * effect, SDL_HapticDirection * dir, int naxes) in SDL_SYS_SetDirection() argument
737 if (naxes == 0) { in SDL_SYS_SetDirection()
744 rglDir = SDL_malloc(sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
748 SDL_memset(rglDir, 0, sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
759 if (naxes > 1) { in SDL_SYS_SetDirection()
762 if (naxes > 2) { in SDL_SYS_SetDirection()
769 if (naxes > 1) { in SDL_SYS_SetDirection()
772 if (naxes > 2) { in SDL_SYS_SetDirection()
831 dest->cAxes = haptic->naxes; in SDL_SYS_ToFFEFFECT()