include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2484 666472fd4cb0
parent 2483 9d52368ebcf5
child 2485 67978eea6d10
equal deleted inserted replaced
2483:9d52368ebcf5 2484:666472fd4cb0
   254  *
   254  *
   255  * Returns 0 on success or -1 on failure.
   255  * Returns 0 on success or -1 on failure.
   256  */
   256  */
   257 extern DECLSPEC int SDL_HapticSetGain(SDL_Haptic * haptic, int gain);
   257 extern DECLSPEC int SDL_HapticSetGain(SDL_Haptic * haptic, int gain);
   258 
   258 
       
   259 /*
       
   260  * Sets the global autocenter of the device.  Autocenter should be between
       
   261  * 0 and 100.  Setting it to 0 will disable autocentering.
       
   262  *
       
   263  * Returns 0 on success or -1 on failure.
       
   264  */
       
   265 extern DECLSPEC int SDL_HapticSetAutocenter(SDL_Haptic * haptic, int autocenter);
       
   266 
   259 
   267 
   260 /* Ends C function definitions when using C++ */
   268 /* Ends C function definitions when using C++ */
   261 #ifdef __cplusplus
   269 #ifdef __cplusplus
   262 /* *INDENT-OFF* */
   270 /* *INDENT-OFF* */
   263 }
   271 }