src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2651 ff33a65123ce
parent 2650 77b5f12bfe11
child 2652 380d926cc5a7
equal deleted inserted replaced
2650:77b5f12bfe11 2651:ff33a65123ce
  1346 
  1346 
  1347 /*
  1347 /*
  1348  * Stops all the playing effects on the device.
  1348  * Stops all the playing effects on the device.
  1349  */
  1349  */
  1350 int
  1350 int
  1351 SDL_SYS_HapticUnpause(SDL_Haptic * haptic)
  1351 SDL_SYS_HapticStopAll(SDL_Haptic * haptic)
  1352 {
  1352 {
  1353    HRESULT ret;
  1353    HRESULT ret;
  1354 
  1354 
  1355    /* Try to stop the effects. */
  1355    /* Try to stop the effects. */
  1356    ret = IDirectInputDevice2_SendForceFeedbackCommand( haptic->hwdata->device,
  1356    ret = IDirectInputDevice2_SendForceFeedbackCommand( haptic->hwdata->device,