Lines Matching refs:condition
800 FFCONDITION *condition = NULL; /* Actually an array of conditions - one per axis. */ in SDL_SYS_ToFFEFFECT() local
942 hap_condition = &src->condition; in SDL_SYS_ToFFEFFECT()
944 condition = SDL_malloc(sizeof(FFCONDITION) * dest->cAxes); in SDL_SYS_ToFFEFFECT()
945 if (condition == NULL) { in SDL_SYS_ToFFEFFECT()
948 SDL_memset(condition, 0, sizeof(FFCONDITION)); in SDL_SYS_ToFFEFFECT()
952 condition[i].lOffset = CONVERT(hap_condition->center[i]); in SDL_SYS_ToFFEFFECT()
953 condition[i].lPositiveCoefficient = in SDL_SYS_ToFFEFFECT()
955 condition[i].lNegativeCoefficient = in SDL_SYS_ToFFEFFECT()
957 condition[i].dwPositiveSaturation = in SDL_SYS_ToFFEFFECT()
959 condition[i].dwNegativeSaturation = in SDL_SYS_ToFFEFFECT()
961 condition[i].lDeadBand = CCONVERT(hap_condition->deadband[i] / 2); in SDL_SYS_ToFFEFFECT()
966 dest->lpvTypeSpecificParams = condition; in SDL_SYS_ToFFEFFECT()