comparison 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
comparison
equal deleted inserted replaced
2483:9d52368ebcf5 2484:666472fd4cb0
57 extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, 57 extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic,
58 struct haptic_effect * effect); 58 struct haptic_effect * effect);
59 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic, 59 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic,
60 struct haptic_effect * effect); 60 struct haptic_effect * effect);
61 extern int SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain); 61 extern int SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain);
62 extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic, int autocenter);
62 63
63 64