include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2485 67978eea6d10
parent 2484 666472fd4cb0
child 2486 24dd8b8669fa
     1.1 --- a/include/SDL_haptic.h	Tue Jul 01 14:21:09 2008 +0000
     1.2 +++ b/include/SDL_haptic.h	Tue Jul 01 14:31:04 2008 +0000
     1.3 @@ -245,7 +245,15 @@
     1.4  extern DECLSPEC int SDL_HapticRunEffect(SDL_Haptic * haptic, int effect);
     1.5  
     1.6  /*
     1.7 - * Destroys a haptic effect on the device.
     1.8 + * Stops the haptic effect on it's assosciated haptic device.
     1.9 + *
    1.10 + * Returns 0 on success or -1 on failure.
    1.11 + */
    1.12 +extern DECLSPEC int SDL_HapticStopEffect(SDL_Haptic * haptic, int effect);
    1.13 +
    1.14 +/*
    1.15 + * Destroys a haptic effect on the device.  This will stop the effect if it's
    1.16 + * running.
    1.17   */
    1.18  extern DECLSPEC void SDL_HapticDestroyEffect(SDL_Haptic * haptic, int effect);
    1.19