Home
last modified time | relevance | path

Searched refs:device_index (Results 1 – 3 of 3) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/joystick/
DSDL_joystick.c76 const char *SDL_JoystickName(int device_index) in SDL_JoystickName() argument
78 if ( (device_index < 0) || (device_index >= SDL_numjoysticks) ) { in SDL_JoystickName()
83 return(SDL_SYS_JoystickName(device_index)); in SDL_JoystickName()
93 SDL_Joystick *SDL_JoystickOpen(int device_index) in SDL_JoystickOpen() argument
98 if ( (device_index < 0) || (device_index >= SDL_numjoysticks) ) { in SDL_JoystickOpen()
106 if ( device_index == SDL_joysticks[i]->index ) { in SDL_JoystickOpen()
117 joystick->index = device_index; in SDL_JoystickOpen()
179 int SDL_JoystickOpened(int device_index) in SDL_JoystickOpened() argument
185 if ( SDL_joysticks[i]->index == (Uint8)device_index ) { in SDL_JoystickOpened()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_joystick.h58 extern DECLSPEC const char * SDLCALL SDL_JoystickName(int device_index);
67 extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index);
72 extern DECLSPEC int SDLCALL SDL_JoystickOpened(int device_index);
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzVideo.m49 static SDL_VideoDevice* QZ_CreateDevice (int device_index);
99 static SDL_VideoDevice* QZ_CreateDevice (int device_index) {
101 #pragma unused (device_index)