comparison include/SDL_haptic.h @ 2563:be2ea885d70b gsoc2008_force_feedback

More verbose about envelopes.
author Edgar Simo <bobbens@gmail.com>
date Thu, 31 Jul 2008 10:25:49 +0000
parents c38ac77ea28f
children 446054caaa81
comparison
equal deleted inserted replaced
2562:c284ce0cd8e0 2563:be2ea885d70b
646 * SDL_HAPTIC_INFINITY. 646 * SDL_HAPTIC_INFINITY.
647 * 647 *
648 * Button triggers may not be supported on all devices, it is advised to not 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 649 * use them if possible. Buttons start at index 1 instead of index 0 like
650 * they joystick. 650 * they joystick.
651 *
652 * If both attack_length and fade_level are 0, the envelope is not used,
653 * otherwise both values are used.
651 * 654 *
652 * Common parts: 655 * Common parts:
653 * \code 656 * \code
654 * // Replay - All effects have this 657 * // Replay - All effects have this
655 * Uint32 length; // Duration of effect (ms). 658 * Uint32 length; // Duration of effect (ms).