include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2563 be2ea885d70b
parent 2558 c38ac77ea28f
child 2622 446054caaa81
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).