src/haptic/SDL_haptic.c
branchgsoc2008_force_feedback
changeset 2519 af9df9662807
parent 2517 37c13c12c878
child 2523 366d84fdf8d1
equal deleted inserted replaced
2518:07a5b225b9c9 2519:af9df9662807
   468 
   468 
   469 /*
   469 /*
   470  * Runs the haptic effect on the device.
   470  * Runs the haptic effect on the device.
   471  */
   471  */
   472 int
   472 int
   473 SDL_HapticRunEffect(SDL_Haptic * haptic, int effect, int iterations)
   473 SDL_HapticRunEffect(SDL_Haptic * haptic, int effect, Uint32 iterations)
   474 {
   474 {
   475    if (!ValidHaptic(&haptic) || !ValidEffect(haptic,effect)) {
   475    if (!ValidHaptic(&haptic) || !ValidEffect(haptic,effect)) {
   476       return -1;
   476       return -1;
   477    }
   477    }
   478 
   478