src/haptic/darwin/SDL_syshaptic.c
changeset 9070 8973a237f360
parent 8986 1c81316ac642
child 9147 6bf589c8d549
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Sat Aug 16 16:42:55 2014 -0400
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Sat Aug 16 16:47:42 2014 -0400
     1.3 @@ -924,10 +924,10 @@
     1.4              condition[i].lNegativeCoefficient =
     1.5                  CONVERT(hap_condition->left_coeff[i]);
     1.6              condition[i].dwPositiveSaturation =
     1.7 -                CCONVERT(hap_condition->right_sat[i]);
     1.8 +                CCONVERT(hap_condition->right_sat[i] / 2);
     1.9              condition[i].dwNegativeSaturation =
    1.10 -                CCONVERT(hap_condition->left_sat[i]);
    1.11 -            condition[i].lDeadBand = CCONVERT(hap_condition->deadband[i]);
    1.12 +                CCONVERT(hap_condition->left_sat[i] / 2);
    1.13 +            condition[i].lDeadBand = CCONVERT(hap_condition->deadband[i] / 2);
    1.14          }
    1.15          dest->cbTypeSpecificParams = sizeof(FFCONDITION) * dest->cAxes;
    1.16          dest->lpvTypeSpecificParams = condition;