include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2515 030fc4375e63
parent 2512 ef147ee4896c
child 2517 37c13c12c878
     1.1 --- a/include/SDL_haptic.h	Thu Jul 10 16:42:43 2008 +0000
     1.2 +++ b/include/SDL_haptic.h	Thu Jul 10 17:16:11 2008 +0000
     1.3 @@ -740,11 +740,26 @@
     1.4   *    \return The number of effects the haptic device can store or
     1.5   *            -1 on error.
     1.6   *
     1.7 + * \sa SDL_HapticNumEffectsPlaying
     1.8   * \sa SDL_HapticQuery
     1.9   */
    1.10  extern DECLSPEC int SDL_HapticNumEffects(SDL_Haptic * haptic);
    1.11  
    1.12  /**
    1.13 + * \fn int SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic)
    1.14 + *
    1.15 + * \brief Returns the number of effects a haptic device can play at the same time.
    1.16 + *
    1.17 + *    \param haptic The haptic device to query maximum playing effect.s
    1.18 + *    \return The number of effects the haptic device can play at the same time
    1.19 + *            or -1 on error.
    1.20 + *
    1.21 + * \sa SDL_HapticNumEffects
    1.22 + * \sa SDL_HapticQuery
    1.23 + */
    1.24 +extern DECLSPEC int SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic);
    1.25 +
    1.26 +/**
    1.27   * \fn unsigned int SDL_HapticQuery(SDL_Haptic * haptic)
    1.28   *
    1.29   * \brief Gets the haptic devices supported features in bitwise matter.