comparison src/haptic/win32/SDL_syshaptic.c @ 2651:ff33a65123ce gsoc2008_force_feedback

Fixed silly mistake because of coding too fast.
author Edgar Simo <bobbens@gmail.com>
date Mon, 25 Aug 2008 10:10:13 +0000
parents 77b5f12bfe11
children 380d926cc5a7
comparison
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,