diff src/joystick/SDL_joystick_c.h @ 2489:96adc8025331 gsoc2008_force_feedback

Exposed some of the joystick stuff to the haptic subsystem. Added SDL_JoystickIsHaptic().
author Edgar Simo <bobbens@gmail.com>
date Wed, 02 Jul 2008 08:24:35 +0000
parents c121d94672cb
children 99210400e8b9
line wrap: on
line diff
--- a/src/joystick/SDL_joystick_c.h	Tue Jul 01 18:35:05 2008 +0000
+++ b/src/joystick/SDL_joystick_c.h	Wed Jul 02 08:24:35 2008 +0000
@@ -36,4 +36,8 @@
                                   Uint8 hat, Uint8 value);
 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick,
                                      Uint8 button, Uint8 state);
+
+/* Internal sanity checking functions */
+extern int SDL_PrivateJoystickValid(SDL_Joystick ** joystick);
+
 /* vi: set ts=4 sw=4 expandtab: */