mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 02:43:30 +08:00
testcontroller: update the controller name when it's opened as a gamepad
This commit is contained in:
parent
908b42f2b9
commit
ecfd143a26
@ -1077,6 +1077,7 @@ static void HandleGamepadAdded(SDL_JoystickID id, bool verbose)
|
||||
}
|
||||
|
||||
HandleGamepadRemapped(id);
|
||||
SetController(id);
|
||||
}
|
||||
|
||||
static void HandleGamepadRemoved(SDL_JoystickID id)
|
||||
|
Loading…
Reference in New Issue
Block a user