Lines Matching refs:naxes
225 haptic->hwdata->axes[haptic->naxes] = offset; in DI_DeviceObjectCallback()
226 haptic->naxes++; in DI_DeviceObjectCallback()
229 if (haptic->naxes >= 3) { in DI_DeviceObjectCallback()
548 SDL_SYS_SetDirection(DIEFFECT * effect, SDL_HapticDirection * dir, int naxes) in SDL_SYS_SetDirection() argument
553 if (naxes == 0) { in SDL_SYS_SetDirection()
560 rglDir = SDL_malloc(sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
564 SDL_memset(rglDir, 0, sizeof(LONG) * naxes); in SDL_SYS_SetDirection()
575 if (naxes > 1) in SDL_SYS_SetDirection()
577 if (naxes > 2) in SDL_SYS_SetDirection()
583 if (naxes > 1) in SDL_SYS_SetDirection()
585 if (naxes > 2) in SDL_SYS_SetDirection()
643 dest->cAxes = haptic->naxes; in SDL_SYS_ToDIEFFECT()