src/haptic/SDL_syshaptic.h
branchgsoc2008_force_feedback
changeset 2645 269ba4f28d0e
parent 2624 c6476e26a783
child 2646 9408be170bff
     1.1 --- a/src/haptic/SDL_syshaptic.h	Tue Aug 12 20:49:31 2008 +0000
     1.2 +++ b/src/haptic/SDL_syshaptic.h	Sun Aug 24 17:17:45 2008 +0000
     1.3 @@ -180,4 +180,17 @@
     1.4  extern int SDL_SYS_HapticSetAutocenter(SDL_Haptic * haptic,
     1.5                                         int autocenter);
     1.6  
     1.7 +/*
     1.8 + * Pauses the haptic device.
     1.9 + *
    1.10 + * Returns 0 on success, -1 on error.
    1.11 + */
    1.12 +extern int SDL_SYS_HapticPause(SDL_Haptic * haptic);
    1.13  
    1.14 +/*
    1.15 + * Unpauses the haptic device.
    1.16 + *
    1.17 + * Returns 0 on success, -1 on error.
    1.18 + */
    1.19 +extern int SDL_SYS_HapticUnpause(SDL_Haptic * haptic);
    1.20 +