src/joystick/emscripten/SDL_sysjoystick.c
changeset 9561 d8ad01792399
parent 9560 d1d80a69110b
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9560:d1d80a69110b 9561:d8ad01792399
   321     joystick->naxes = item->naxes;
   321     joystick->naxes = item->naxes;
   322 
   322 
   323     return (0);
   323     return (0);
   324 }
   324 }
   325 
   325 
   326 /* Function to determine is this joystick is attached to the system right now */
   326 /* Function to determine if this joystick is attached to the system right now */
   327 SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
   327 SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
   328 {
   328 {
   329     return joystick->hwdata != NULL;
   329     return joystick->hwdata != NULL;
   330 }
   330 }
   331 
   331