include/SDL_haptic.h
changeset 9070 8973a237f360
parent 9068 a57a1d70ae07
child 9146 dbef1f283c3f
equal deleted inserted replaced
9069:16b5dda99337 9070:8973a237f360
   602     /* Trigger */
   602     /* Trigger */
   603     Uint16 button;          /**< Button that triggers the effect. */
   603     Uint16 button;          /**< Button that triggers the effect. */
   604     Uint16 interval;        /**< How soon it can be triggered again after button. */
   604     Uint16 interval;        /**< How soon it can be triggered again after button. */
   605 
   605 
   606     /* Condition */
   606     /* Condition */
   607     Uint16 right_sat[3];    /**< Level when joystick is to the positive side. */
   607     Uint16 right_sat[3];    /**< Level when joystick is to the positive side; max 0xFFFF. */
   608     Uint16 left_sat[3];     /**< Level when joystick is to the negative side. */
   608     Uint16 left_sat[3];     /**< Level when joystick is to the negative side; max 0xFFFF. */
   609     Sint16 right_coeff[3];  /**< How fast to increase the force towards the positive side. */
   609     Sint16 right_coeff[3];  /**< How fast to increase the force towards the positive side. */
   610     Sint16 left_coeff[3];   /**< How fast to increase the force towards the negative side. */
   610     Sint16 left_coeff[3];   /**< How fast to increase the force towards the negative side. */
   611     Uint16 deadband[3];     /**< Size of the dead zone. */
   611     Uint16 deadband[3];     /**< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. */
   612     Sint16 center[3];       /**< Position of the dead zone. */
   612     Sint16 center[3];       /**< Position of the dead zone. */
   613 } SDL_HapticCondition;
   613 } SDL_HapticCondition;
   614 
   614 
   615 /**
   615 /**
   616  *  \brief A structure containing a template for a Ramp effect.
   616  *  \brief A structure containing a template for a Ramp effect.