# HG changeset patch # User Edgar Simo # Date 1218020035 0 # Node ID 776f7f800131eb857c9a3de081e229928f9c1fa3 # Parent 43a0416b37075bd653059f7ee770107bcca1c5a8 Updating documentation about NumEffects and NumPlaying. diff -r 43a0416b3707 -r 776f7f800131 include/SDL_haptic.h --- a/include/SDL_haptic.h Wed Aug 06 10:48:35 2008 +0000 +++ b/include/SDL_haptic.h Wed Aug 06 10:53:55 2008 +0000 @@ -853,6 +853,10 @@ * * \brief Returns the number of effects a haptic device can store. * + * On some platforms this isn't fully supported, and therefore is an + * aproximation. Always check to see if your created effect was actually + * created and do not rely solely on HapticNumEffects. + * * \param haptic The haptic device to query effect max. * \return The number of effects the haptic device can store or * -1 on error. @@ -867,6 +871,9 @@ * * \brief Returns the number of effects a haptic device can play at the same time. * + * This is not supported on all platforms, but will always return a value. Added + * here for the sake of completness. + * * \param haptic The haptic device to query maximum playing effect.s * \return The number of effects the haptic device can play at the same time * or -1 on error.