comparison src/haptic/SDL_syshaptic.h @ 2523:366d84fdf8d1 gsoc2008_force_feedback

Haptic subsystem handles haptic axes now. Support for SDL_HAPTIC_SPHERICAL on linux. More error checking. Improved documentation. Added missing SDLCALLs to SDL_haptic.h.
author Edgar Simo <bobbens@gmail.com>
date Thu, 17 Jul 2008 11:47:48 +0000
parents af9df9662807
children 1a55848ce198
comparison
equal deleted inserted replaced
2522:0877146be013 2523:366d84fdf8d1
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 int nplaying; /* Maximum amount of effects to play at the same time */
51 unsigned int supported; /* Supported effects */ 51 unsigned int supported; /* Supported effects */
52 int naxes; /* Number of axes on the device. */
52 53
53 struct haptic_hwdata *hwdata; /* Driver dependent */ 54 struct haptic_hwdata *hwdata; /* Driver dependent */
54 int ref_count; /* Count for multiple opens */ 55 int ref_count; /* Count for multiple opens */
55 }; 56 };
56 57