Roger Federer became emotional as he was inducted into the International Tennis Hall of Fame.