Home
last modified time | relevance | path

Searched refs:existing_instance (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c163 SDL_JoystickID existing_instance = SDL_GetJoystickIDForPlayerIndex(player_index); in SDL_SetJoystickIDForPlayerIndex() local
201 if (existing_instance >= 0) { in SDL_SetJoystickIDForPlayerIndex()
202 SDL_SetJoystickIDForPlayerIndex(SDL_FindFreePlayerIndex(), existing_instance); in SDL_SetJoystickIDForPlayerIndex()

Completed in 6 milliseconds