comparison 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
comparison
equal deleted inserted replaced
2514:840e1b6325c0 2515:030fc4375e63
45 Uint8 index; /* Stores index it is attached to */ 45 Uint8 index; /* Stores index it is attached to */
46 const char* name; /* Stores the name of the device */ 46 const char* name; /* Stores the name of the device */
47 47
48 struct haptic_effect *effects; /* Allocated effects */ 48 struct haptic_effect *effects; /* Allocated effects */
49 int neffects; /* Maximum amount of effects */ 49 int neffects; /* Maximum amount of effects */
50 int nplaying; /* Maximum amount of effects to play at the same time */
50 unsigned int supported; /* Supported effects */ 51 unsigned int supported; /* Supported effects */
51 52
52 struct haptic_hwdata *hwdata; /* Driver dependent */ 53 struct haptic_hwdata *hwdata; /* Driver dependent */
53 int ref_count; /* Count for multiple opens */ 54 int ref_count; /* Count for multiple opens */
54 }; 55 };