include/SDL_haptic.h
changeset 9147 6bf589c8d549
parent 9146 dbef1f283c3f
child 9249 35a4fab04296
equal deleted inserted replaced
9146:dbef1f283c3f 9147:6bf589c8d549
   551     Uint16 button;      /**< Button that triggers the effect. */
   551     Uint16 button;      /**< Button that triggers the effect. */
   552     Uint16 interval;    /**< How soon it can be triggered again after button. */
   552     Uint16 interval;    /**< How soon it can be triggered again after button. */
   553 
   553 
   554     /* Periodic */
   554     /* Periodic */
   555     Uint16 period;      /**< Period of the wave. */
   555     Uint16 period;      /**< Period of the wave. */
   556     Sint16 magnitude;   /**< Peak value. */
   556     Sint16 magnitude;   /**< Peak value; if negative, equivalent to 180 degrees extra phase shift. */
   557     Sint16 offset;      /**< Mean value of the wave. */
   557     Sint16 offset;      /**< Mean value of the wave. */
   558     Uint16 phase;       /**< Horizontal shift given by hundredth of a degree. */
   558     Uint16 phase;       /**< Horizontal shift given by hundredth of a degree. */
   559 
   559 
   560     /* Envelope */
   560     /* Envelope */
   561     Uint16 attack_length;   /**< Duration of the attack. */
   561     Uint16 attack_length;   /**< Duration of the attack. */