comparison src/haptic/SDL_syshaptic.h @ 2485:67978eea6d10 gsoc2008_force_feedback

Added SDL_HapticStopEffect().
author Edgar Simo <bobbens@gmail.com>
date Tue, 01 Jul 2008 14:31:04 +0000
parents 666472fd4cb0
children 8e2bdbccf7ff
comparison
equal deleted inserted replaced
2484:666472fd4cb0 2485:67978eea6d10
54 extern void SDL_SYS_HapticQuit(void); 54 extern void SDL_SYS_HapticQuit(void);
55 extern int SDL_SYS_HapticNewEffect(SDL_Haptic * haptic, 55 extern int SDL_SYS_HapticNewEffect(SDL_Haptic * haptic,
56 struct haptic_effect * effect, SDL_HapticEffect * base); 56 struct haptic_effect * effect, SDL_HapticEffect * base);
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 int SDL_SYS_HapticStopEffect(SDL_Haptic * haptic,
60 struct haptic_effect * effect);
59 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic, 61 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic,
60 struct haptic_effect * effect); 62 struct haptic_effect * effect);
61 extern int SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain); 63 extern int SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain);
62 extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic, int autocenter); 64 extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic, int autocenter);
63 65