diff src/haptic/SDL_syshaptic.h @ 2515:030fc4375e63 gsoc2008_force_feedback

Added SDL_HapticNumEffectsPlaying().
author Edgar Simo <bobbens@gmail.com>
date Thu, 10 Jul 2008 17:16:11 +0000
parents ef147ee4896c
children 37c13c12c878
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h	Thu Jul 10 16:42:43 2008 +0000
+++ b/src/haptic/SDL_syshaptic.h	Thu Jul 10 17:16:11 2008 +0000
@@ -47,6 +47,7 @@
 
    struct haptic_effect *effects; /* Allocated effects */
    int neffects; /* Maximum amount of effects */
+   int nplaying; /* Maximum amount of effects to play at the same time */
    unsigned int supported; /* Supported effects */
 
    struct haptic_hwdata *hwdata; /* Driver dependent */