diff 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
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h	Mon Jun 30 21:38:29 2008 +0000
+++ b/src/haptic/SDL_syshaptic.h	Tue Jul 01 09:22:22 2008 +0000
@@ -53,7 +53,7 @@
 extern void SDL_SYS_HapticClose(SDL_Haptic * haptic);
 extern void SDL_SYS_HapticQuit(void);
 extern int SDL_SYS_HapticNewEffect(SDL_Haptic * haptic,
-      struct haptic_effect * effect);
+      struct haptic_effect * effect, SDL_HapticEffect * base);
 extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic,
       struct haptic_effect * effect);
 extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic,