Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Updating documentation about NumEffects and NumPlaying.

  • Loading branch information
bobbens committed Aug 6, 2008
1 parent ec8ccd3 commit 0608cb9038c9dc44bf6dcae2b64f78459d9a3e2d
Showing with 7 additions and 0 deletions.
  1. +7 −0 include/SDL_haptic.h
@@ -853,6 +853,10 @@ extern DECLSPEC void SDLCALL SDL_HapticClose(SDL_Haptic * haptic);
*
* \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 @@ extern DECLSPEC int SDLCALL SDL_HapticNumEffects(SDL_Haptic * haptic);
*
* \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.

0 comments on commit 0608cb9

Please sign in to comment.