Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h Mon Jun 30 17:28:34 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Mon Jun 30 21:38:29 2008 +0000 @@ -52,4 +52,11 @@ extern int SDL_SYS_HapticOpen(SDL_Haptic * haptic); 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); +extern int SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, + struct haptic_effect * effect); +extern void SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic, + struct haptic_effect * effect); +