mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
testcontroller: update the controller name when it's opened as a gamepad
This commit is contained in:
parent
908b42f2b9
commit
ecfd143a26
1 changed files with 1 additions and 0 deletions
|
|
@ -1077,6 +1077,7 @@ static void HandleGamepadAdded(SDL_JoystickID id, bool verbose)
|
|||
}
|
||||
|
||||
HandleGamepadRemapped(id);
|
||||
SetController(id);
|
||||
}
|
||||
|
||||
static void HandleGamepadRemoved(SDL_JoystickID id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue