include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2554 2681a04c2d3d
parent 2536 fe3ee345a5d2
child 2558 c38ac77ea28f
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).