comparison src/haptic/win32/SDL_syshaptic.c @ 2715:336b604ec15b

Merging another last minute fix from force feedback branch (r4036)
author Edgar Simo <bobbens@gmail.com>
date Mon, 25 Aug 2008 10:14:21 +0000
parents 1d1be6137875
children 50bc882455e5
comparison
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,