src/haptic/win32/SDL_syshaptic.c
changeset 2715 336b604ec15b
parent 2714 1d1be6137875
child 2717 50bc882455e5
equal deleted inserted replaced
2714:1d1be6137875 2715:336b604ec15b
  1372 
  1372 
  1373 /*
  1373 /*
  1374  * Stops all the playing effects on the device.
  1374  * Stops all the playing effects on the device.
  1375  */
  1375  */
  1376 int
  1376 int
  1377 SDL_SYS_HapticUnpause(SDL_Haptic * haptic)
  1377 SDL_SYS_HapticStopAll(SDL_Haptic * haptic)
  1378 {
  1378 {
  1379     HRESULT ret;
  1379     HRESULT ret;
  1380 
  1380 
  1381     /* Try to stop the effects. */
  1381     /* Try to stop the effects. */
  1382     ret = IDirectInputDevice2_SendForceFeedbackCommand(haptic->hwdata->device,
  1382     ret = IDirectInputDevice2_SendForceFeedbackCommand(haptic->hwdata->device,