comparison src/haptic/SDL_syshaptic.h @ 2479:b9eb2cfe16cd gsoc2008_force_feedback

Added some preliminary support for haptic effect control.
author Edgar Simo <bobbens@gmail.com>
date Mon, 30 Jun 2008 21:38:29 +0000
parents 97f75ea43a93
children b883974445fc
comparison
equal deleted inserted replaced
2478:4fd783e0f34b 2479:b9eb2cfe16cd
50 extern int SDL_SYS_HapticInit(void); 50 extern int SDL_SYS_HapticInit(void);
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,
56 struct haptic_effect * effect);
57 extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic,
58 struct haptic_effect * effect);
59 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic,
60 struct haptic_effect * effect);
55 61
62