Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Updating documentation about NumEffects and NumPlaying.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Aug 6, 2008
1 parent ec8ccd3 commit 0608cb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/SDL_haptic.h
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 0608cb9

Please sign in to comment.