src/joystick/linux/SDL_sysjoystick.c
changeset 9561 d8ad01792399
parent 9433 bd062398b648
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9560:d1d80a69110b 9561:d8ad01792399
   619     joystick->hwdata->fresh = 1;
   619     joystick->hwdata->fresh = 1;
   620 
   620 
   621     return (0);
   621     return (0);
   622 }
   622 }
   623 
   623 
   624 /* Function to determine is this joystick is attached to the system right now */
   624 /* Function to determine if this joystick is attached to the system right now */
   625 SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
   625 SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
   626 {
   626 {
   627     return joystick->hwdata->item != NULL;
   627     return joystick->hwdata->item != NULL;
   628 }
   628 }
   629 
   629