Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h Tue Jul 15 17:35:06 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Thu Jul 17 11:47:48 2008 +0000 @@ -49,6 +49,7 @@ int neffects; /* Maximum amount of effects */ int nplaying; /* Maximum amount of effects to play at the same time */ unsigned int supported; /* Supported effects */ + int naxes; /* Number of axes on the device. */ struct haptic_hwdata *hwdata; /* Driver dependent */ int ref_count; /* Count for multiple opens */