Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/joystick/bsd/
DSDL_sysjoystick.c134 static char *joynames[MAX_JOYS]; variable
154 SDL_memset(joynames, 0, sizeof(joynames)); in SDL_SYS_JoystickInit()
163 joynames[nj.index] = strdup(s); in SDL_SYS_JoystickInit()
169 SDL_free(joynames[nj.index]); in SDL_SYS_JoystickInit()
170 joynames[nj.index] = NULL; in SDL_SYS_JoystickInit()
177 joynames[SDL_numjoysticks++] = strdup(s); in SDL_SYS_JoystickInit()
194 return (joynames[index]); in SDL_SYS_JoystickName()
243 char *path = joynames[joy->index]; in SDL_SYS_JoystickOpen()
527 if (joynames[i] != NULL) in SDL_SYS_JoystickQuit()
528 SDL_free(joynames[i]); in SDL_SYS_JoystickQuit()