Home
last modified time | relevance | path

Searched refs:SDL_Joystick (Results 1 – 16 of 16) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/include/
DSDL_joystick.h44 typedef struct _SDL_Joystick SDL_Joystick; typedef
67 extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index);
77 extern DECLSPEC int SDLCALL SDL_JoystickIndex(SDL_Joystick *joystick);
82 extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick *joystick);
89 extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick *joystick);
94 extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick *joystick);
99 extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick *joystick);
122 extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis);
140 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
147 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
[all …]
/external/qemu/distrib/sdl-1.2.12/src/joystick/
DSDL_joystick.c40 SDL_Joystick **SDL_joysticks = NULL;
41 static SDL_Joystick *default_joystick = NULL;
52 SDL_joysticks = (SDL_Joystick **)SDL_malloc(arraylen); in SDL_JoystickInit()
93 SDL_Joystick *SDL_JoystickOpen(int device_index) in SDL_JoystickOpen()
96 SDL_Joystick *joystick; in SDL_JoystickOpen()
114 joystick = (SDL_Joystick *)SDL_malloc((sizeof *joystick)); in SDL_JoystickOpen()
193 static int ValidJoystick(SDL_Joystick **joystick) in ValidJoystick()
212 int SDL_JoystickIndex(SDL_Joystick *joystick) in SDL_JoystickIndex()
223 int SDL_JoystickNumAxes(SDL_Joystick *joystick) in SDL_JoystickNumAxes()
234 int SDL_JoystickNumHats(SDL_Joystick *joystick) in SDL_JoystickNumHats()
[all …]
DSDL_joystick_c.h31 extern int SDL_PrivateJoystickAxis(SDL_Joystick *joystick,
33 extern int SDL_PrivateJoystickBall(SDL_Joystick *joystick,
35 extern int SDL_PrivateJoystickHat(SDL_Joystick *joystick,
37 extern int SDL_PrivateJoystickButton(SDL_Joystick *joystick,
DSDL_sysjoystick.h68 extern int SDL_SYS_JoystickOpen(SDL_Joystick *joystick);
75 extern void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick);
78 extern void SDL_SYS_JoystickClose(SDL_Joystick *joystick);
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
DSDL_sysjoystick.c262 SDL_Joystick* joy;
535 static int allocate_hatdata(SDL_Joystick *joystick) in allocate_hatdata()
551 static int allocate_balldata(SDL_Joystick *joystick) in allocate_balldata()
567 static SDL_bool JS_ConfigJoystick(SDL_Joystick *joystick, int fd) in JS_ConfigJoystick()
659 static SDL_bool EV_ConfigJoystick(SDL_Joystick *joystick, int fd) in EV_ConfigJoystick()
759 static void ConfigLogicalJoystick(SDL_Joystick *joystick) in ConfigLogicalJoystick()
779 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
783 SDL_logical_joydecl(SDL_Joystick *realjoy = NULL); in SDL_SYS_JoystickOpen()
838 static SDL_Joystick* FindLogicalJoystick( in FindLogicalJoystick()
839 SDL_Joystick *joystick, struct joystick_logical_mapping* v) in FindLogicalJoystick()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/joystick/dummy/
DSDL_sysjoystick.c55 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
66 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
72 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/riscos/
DSDL_sysjoystick.c88 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
114 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
161 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/amigaos/
DSDL_sysjoystick.c112 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
146 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
213 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/dc/
DSDL_sysjoystick.c88 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
113 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
179 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/beos/
DSDL_bejoystick.cc97 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
146 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
203 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/macos/
DSDL_sysjoystick.c151 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
224 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
303 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/win32/
DSDL_mmjoystick.c190 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
274 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
342 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/bsd/
DSDL_sysjoystick.c158 SDL_Joystick nj; in SDL_SYS_JoystickInit()
241 SDL_SYS_JoystickOpen(SDL_Joystick *joy) in SDL_SYS_JoystickOpen()
385 SDL_SYS_JoystickUpdate(SDL_Joystick *joy) in SDL_SYS_JoystickUpdate()
508 SDL_SYS_JoystickClose(SDL_Joystick *joy) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
DSDL_sysjoystick.c314 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
353 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
590 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/
DSDL_sysjoystick.c698 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
722 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
828 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/
DSDL_sysjoystick.c327 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick) in SDL_SYS_JoystickOpen()
382 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
519 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()