src/joystick/linux/SDL_sysjoystick.c
branchSDL-1.2
changeset 4114 fc27f3e8eee4
parent 3921 746aa4852f87
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
4113:82dab719502e 4114:fc27f3e8eee4
   471 				SDL_joylist[numjoysticks].fname = SDL_strdup(path);
   471 				SDL_joylist[numjoysticks].fname = SDL_strdup(path);
   472 				if ( SDL_joylist[numjoysticks].fname ) {
   472 				if ( SDL_joylist[numjoysticks].fname ) {
   473 					dev_nums[numjoysticks] = sb.st_rdev;
   473 					dev_nums[numjoysticks] = sb.st_rdev;
   474 					++numjoysticks;
   474 					++numjoysticks;
   475 				}
   475 				}
   476 			} else
   476 			}
   477 				break;
       
   478 		}
   477 		}
   479 
   478 
   480 #if SDL_INPUT_LINUXEV
   479 #if SDL_INPUT_LINUXEV
   481 		/* This is a special case...
   480 		/* This is a special case...
   482 		   If the event devices are valid then the joystick devices
   481 		   If the event devices are valid then the joystick devices