src/haptic/SDL_syshaptic.h
branchgsoc2008_force_feedback
changeset 2495 66c02abeef0e
parent 2491 10bc7aaf5114
child 2512 ef147ee4896c
     1.1 --- a/src/haptic/SDL_syshaptic.h	Thu Jul 03 09:13:22 2008 +0000
     1.2 +++ b/src/haptic/SDL_syshaptic.h	Thu Jul 03 09:58:27 2008 +0000
     1.3 @@ -145,6 +145,15 @@
     1.4                                          struct haptic_effect * effect);
     1.5  
     1.6  /*
     1.7 + * Queries the device for the status of effect.
     1.8 + *
     1.9 + * Returns 0 if device is stopped, >0 if device is playing and
    1.10 + * -1 on error.
    1.11 + */
    1.12 +extern int SDL_SYS_HapticGetEffectStatus(SDL_Haptic * haptic,
    1.13 +                                         struct haptic_effect * effect);
    1.14 +
    1.15 +/*
    1.16   * Sets the global gain of the haptic device.
    1.17   *
    1.18   * Returns 0 on success, -1 on error.