mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-03 17:24:34 +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);
 | 
			
		||||
    SetController(id);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void HandleGamepadRemoved(SDL_JoystickID id)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user