include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2515 030fc4375e63
parent 2512 ef147ee4896c
child 2517 37c13c12c878
equal deleted inserted replaced
2514:840e1b6325c0 2515:030fc4375e63
   738  *
   738  *
   739  *    \param haptic The haptic device to query effect max.
   739  *    \param haptic The haptic device to query effect max.
   740  *    \return The number of effects the haptic device can store or
   740  *    \return The number of effects the haptic device can store or
   741  *            -1 on error.
   741  *            -1 on error.
   742  *
   742  *
       
   743  * \sa SDL_HapticNumEffectsPlaying
   743  * \sa SDL_HapticQuery
   744  * \sa SDL_HapticQuery
   744  */
   745  */
   745 extern DECLSPEC int SDL_HapticNumEffects(SDL_Haptic * haptic);
   746 extern DECLSPEC int SDL_HapticNumEffects(SDL_Haptic * haptic);
       
   747 
       
   748 /**
       
   749  * \fn int SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic)
       
   750  *
       
   751  * \brief Returns the number of effects a haptic device can play at the same time.
       
   752  *
       
   753  *    \param haptic The haptic device to query maximum playing effect.s
       
   754  *    \return The number of effects the haptic device can play at the same time
       
   755  *            or -1 on error.
       
   756  *
       
   757  * \sa SDL_HapticNumEffects
       
   758  * \sa SDL_HapticQuery
       
   759  */
       
   760 extern DECLSPEC int SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic);
   746 
   761 
   747 /**
   762 /**
   748  * \fn unsigned int SDL_HapticQuery(SDL_Haptic * haptic)
   763  * \fn unsigned int SDL_HapticQuery(SDL_Haptic * haptic)
   749  *
   764  *
   750  * \brief Gets the haptic devices supported features in bitwise matter.
   765  * \brief Gets the haptic devices supported features in bitwise matter.