src/joystick/linux/SDL_sysjoystick.c
changeset 10617 346c02ff71b6
parent 10609 d702ecbd8ba7
child 10641 ae818421bb1f
equal deleted inserted replaced
10616:d17dd08640a4 10617:346c02ff71b6
   346 #else 
   346 #else 
   347     return JoystickInitWithoutUdev();
   347     return JoystickInitWithoutUdev();
   348 #endif
   348 #endif
   349 }
   349 }
   350 
   350 
   351 int SDL_SYS_NumJoysticks()
   351 int
       
   352 SDL_SYS_NumJoysticks(void)
   352 {
   353 {
   353     return numjoysticks;
   354     return numjoysticks;
   354 }
   355 }
   355 
   356 
   356 void SDL_SYS_JoystickDetect()
   357 void
       
   358 SDL_SYS_JoystickDetect(void)
   357 {
   359 {
   358 #if SDL_USE_LIBUDEV
   360 #if SDL_USE_LIBUDEV
   359     SDL_UDEV_Poll();
   361     SDL_UDEV_Poll();
   360 #endif
   362 #endif
   361     
   363