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