Engine/lib/sdl/src/joystick/android/SDL_sysjoystick.c
/* Function to perform any system-specific joystick related cleanup */
Function to perform any system-specific joystick related cleanup
Function to perform any system - specific joystick related cleanup
void
SDL_SYS_JoystickQuit(void)
{
    SDL_joylist_item *item = NULL;
    SDL_joylist_item *next = NULL;
    for (item = SDL_joylist; item; item = next) {
        next = item->next;
        SDL_free(item->name);
        SDL_free(item);
    }
    SDL_joylist = SDL_joylist_tail = NULL;
    numjoysticks = 0;
    instance_counter = 0;
}
void SDL_SYS_JoystickQuit ( void ) { SDL_joylist_item * item = NULL ; SDL_joylist_item * next = NULL ; for ( item = SDL_joylist ; item ; item = next ) { next = item -> next ; SDL_free ( item -> name ) ; SDL_free ( item ) ; } SDL_joylist = SDL_joylist_tail = NULL ; numjoysticks = 0 ; instance_counter = 0 ; }
Function to perform any system-specific joystick related cleanup
Function to perform any system - specific joystick related cleanup