comparison src/haptic/SDL_syshaptic.h @ 2480:b883974445fc gsoc2008_force_feedback

Some more error reporting. Added periodic effect. Confirmed it works.
author Edgar Simo <bobbens@gmail.com>
date Tue, 01 Jul 2008 09:22:22 +0000
parents b9eb2cfe16cd
children 9d52368ebcf5
comparison
equal deleted inserted replaced
2479:b9eb2cfe16cd 2480:b883974445fc
51 extern const char * SDL_SYS_HapticName(int index); 51 extern const char * SDL_SYS_HapticName(int index);
52 extern int SDL_SYS_HapticOpen(SDL_Haptic * haptic); 52 extern int SDL_SYS_HapticOpen(SDL_Haptic * haptic);
53 extern void SDL_SYS_HapticClose(SDL_Haptic * haptic); 53 extern void SDL_SYS_HapticClose(SDL_Haptic * haptic);
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); 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 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 61