src/joystick/android/SDL_sysjoystick.c
changeset 10274 3501018c6df2
parent 10082 e1e10dfb04ad
child 10278 74c39dbe8d30
equal deleted inserted replaced
10273:42768c568a50 10274:3501018c6df2
   536 
   536 
   537 /* Function to close a joystick after use */
   537 /* Function to close a joystick after use */
   538 void
   538 void
   539 SDL_SYS_JoystickClose(SDL_Joystick * joystick)
   539 SDL_SYS_JoystickClose(SDL_Joystick * joystick)
   540 {
   540 {
       
   541     SDL_joylist_item *item = (SDL_joylist_item *) joystick->hwdata;
       
   542     item->joystick = NULL;
   541 }
   543 }
   542 
   544 
   543 /* Function to perform any system-specific joystick related cleanup */
   545 /* Function to perform any system-specific joystick related cleanup */
   544 void
   546 void
   545 SDL_SYS_JoystickQuit(void)
   547 SDL_SYS_JoystickQuit(void)