diff -r a72a5f62d6b7 -r 66c02abeef0e src/haptic/SDL_syshaptic.h --- a/src/haptic/SDL_syshaptic.h Thu Jul 03 09:13:22 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Thu Jul 03 09:58:27 2008 +0000 @@ -145,6 +145,15 @@ struct haptic_effect * effect); /* + * Queries the device for the status of effect. + * + * Returns 0 if device is stopped, >0 if device is playing and + * -1 on error. + */ +extern int SDL_SYS_HapticGetEffectStatus(SDL_Haptic * haptic, + struct haptic_effect * effect); + +/* * Sets the global gain of the haptic device. * * Returns 0 on success, -1 on error.