diff src/haptic/SDL_syshaptic.h @ 2484:666472fd4cb0 gsoc2008_force_feedback

HapticSetGain checks to see if device supports it. Added HapticSetAutocenter().
author Edgar Simo <bobbens@gmail.com>
date Tue, 01 Jul 2008 14:21:09 +0000
parents 9d52368ebcf5
children 67978eea6d10
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h	Tue Jul 01 14:09:53 2008 +0000
+++ b/src/haptic/SDL_syshaptic.h	Tue Jul 01 14:21:09 2008 +0000
@@ -59,5 +59,6 @@
 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic,
       struct haptic_effect * effect);
 extern int SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain);
+extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic, int autocenter);