Searched refs:SDL_joysticks (Results 1 – 1 of 1) sorted by relevance
41 SDL_Joystick **SDL_joysticks = NULL; variable52 arraylen = (SDL_allocatedjoysticks+1)*sizeof(*SDL_joysticks); in SDL_JoystickInit()53 SDL_joysticks = (SDL_Joystick **)SDL_malloc(arraylen); in SDL_JoystickInit()54 if ( SDL_joysticks == NULL ) { in SDL_JoystickInit()58 SDL_memset(SDL_joysticks, 0, arraylen); in SDL_JoystickInit()106 for ( i=0; SDL_joysticks[i]; ++i ) { in SDL_JoystickOpen()107 if ( device_index == SDL_joysticks[i]->index ) { in SDL_JoystickOpen()108 joystick = SDL_joysticks[i]; in SDL_JoystickOpen()173 for ( i=0; SDL_joysticks[i]; ++i ) in SDL_JoystickOpen()175 SDL_joysticks[i] = joystick; in SDL_JoystickOpen()[all …]