comparison src/haptic/darwin/SDL_syshaptic.c @ 2534:e597de8dccd5 gsoc2008_force_feedback

Was a typo in the mac os x documentation.
author Edgar Simo <bobbens@gmail.com>
date Fri, 18 Jul 2008 19:22:56 +0000
parents 0c8cea99c4b8
children f0ed8471497d
comparison
equal deleted inserted replaced
2533:0c8cea99c4b8 2534:e597de8dccd5
575 SDL_OutOfMemory(); 575 SDL_OutOfMemory();
576 return -1; 576 return -1;
577 } 577 }
578 578
579 /* Specifics */ 579 /* Specifics */
580 ramp->lMagnitude = CONVERT(hap_ramp->start); 580 ramp->lStart = CONVERT(hap_ramp->start);
581 ramp->lEnd = CONVERT(hap_ramp->end); 581 ramp->lEnd = CONVERT(hap_ramp->end);
582 582
583 /* Generics */ 583 /* Generics */
584 dest->dwDuration = hap_ramp->length * 1000; /* In microseconds. */ 584 dest->dwDuration = hap_ramp->length * 1000; /* In microseconds. */
585 dest->dwTriggerButton = FFJOFS_BUTTON(hap_ramp->button); 585 dest->dwTriggerButton = FFJOFS_BUTTON(hap_ramp->button);