Searched refs:numjoysticks (Results 1 - 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
H A DSDL_bejoystick.cc60 int numjoysticks; local
67 numjoysticks = 0;
75 SDL_joyport[numjoysticks] = strdup(name);
76 SDL_joyname[numjoysticks] =
78 numjoysticks++;
83 return(numjoysticks);
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
H A DSDL_sysjoystick.c410 int numjoysticks; local
418 numjoysticks = 0;
434 SDL_joylist[numjoysticks].fname = SDL_strdup(envpath);
435 if ( SDL_joylist[numjoysticks].fname ) {
436 dev_nums[numjoysticks] = sb.st_rdev;
437 ++numjoysticks;
460 for (n=0; (n<numjoysticks) && !duplicate; ++n) {
485 SDL_joylist[numjoysticks].fname = SDL_strdup(path);
486 if ( SDL_joylist[numjoysticks].fname ) {
487 dev_nums[numjoysticks]
[all...]

Completed in 64 milliseconds