comparison 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
comparison
equal deleted inserted replaced
2488:8e2bdbccf7ff 2489:96adc8025331
34 Uint8 ball, Sint16 xrel, Sint16 yrel); 34 Uint8 ball, Sint16 xrel, Sint16 yrel);
35 extern int SDL_PrivateJoystickHat(SDL_Joystick * joystick, 35 extern int SDL_PrivateJoystickHat(SDL_Joystick * joystick,
36 Uint8 hat, Uint8 value); 36 Uint8 hat, Uint8 value);
37 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick, 37 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick,
38 Uint8 button, Uint8 state); 38 Uint8 button, Uint8 state);
39
40 /* Internal sanity checking functions */
41 extern int SDL_PrivateJoystickValid(SDL_Joystick ** joystick);
42
39 /* vi: set ts=4 sw=4 expandtab: */ 43 /* vi: set ts=4 sw=4 expandtab: */