Mercurial > sdl-ios-xcode
comparison include/SDL_haptic.h @ 2554:2681a04c2d3d gsoc2008_force_feedback
Warn about using button triggers.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 30 Jul 2008 14:48:34 +0000 |
parents | fe3ee345a5d2 |
children | c38ac77ea28f |
comparison
equal
deleted
inserted
replaced
2553:3f853f075bc0 | 2554:2681a04c2d3d |
---|---|
642 * Neither delay, interval, attack_length nor fade_length support | 642 * Neither delay, interval, attack_length nor fade_length support |
643 * SDL_HAPTIC_INFINITY. Fade will also not be used since effect never ends. | 643 * SDL_HAPTIC_INFINITY. Fade will also not be used since effect never ends. |
644 * | 644 * |
645 * Additionally, the SDL_HAPTIC_RAMP effect does not support a duration of | 645 * Additionally, the SDL_HAPTIC_RAMP effect does not support a duration of |
646 * SDL_HAPTIC_INFINITY. | 646 * SDL_HAPTIC_INFINITY. |
647 * | |
648 * Button triggers may not be supported on all devices, it is advised to not | |
649 * use them if possible. Buttons start at index 1 instead of index 0 like | |
650 * they joystick. | |
647 * | 651 * |
648 * Common parts: | 652 * Common parts: |
649 * \code | 653 * \code |
650 * // Replay - All effects have this | 654 * // Replay - All effects have this |
651 * Uint32 length; // Duration of effect (ms). | 655 * Uint32 length; // Duration of effect (ms). |