comparison src/joystick/SDL_joystick_c.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children 4da1ee79c9af
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
26 26
27 /* The number of available joysticks on the system */ 27 /* The number of available joysticks on the system */
28 extern Uint8 SDL_numjoysticks; 28 extern Uint8 SDL_numjoysticks;
29 29
30 /* Internal event queueing functions */ 30 /* Internal event queueing functions */
31 extern int SDL_PrivateJoystickAxis(SDL_Joystick *joystick, 31 extern int SDL_PrivateJoystickAxis (SDL_Joystick * joystick,
32 Uint8 axis, Sint16 value); 32 Uint8 axis, Sint16 value);
33 extern int SDL_PrivateJoystickBall(SDL_Joystick *joystick, 33 extern int SDL_PrivateJoystickBall (SDL_Joystick * joystick,
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 /* vi: set ts=4 sw=4 expandtab: */