Mercurial > sdl-ios-xcode
comparison include/SDL_haptic.h @ 2515:030fc4375e63 gsoc2008_force_feedback
Added SDL_HapticNumEffectsPlaying().
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Thu, 10 Jul 2008 17:16:11 +0000 |
parents | ef147ee4896c |
children | 37c13c12c878 |
comparison
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. |