Searched refs:device_index (Results 1 – 3 of 3) sorted by relevance
76 const char *SDL_JoystickName(int device_index) in SDL_JoystickName() argument78 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() argument98 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() argument185 if ( SDL_joysticks[i]->index == (Uint8)device_index ) { in SDL_JoystickOpened()
58 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);
49 static SDL_VideoDevice* QZ_CreateDevice (int device_index);99 static SDL_VideoDevice* QZ_CreateDevice (int device_index) {101 #pragma unused (device_index)