input: el nombre de los mandos ya no se redimensiona ni se añade el índice

This commit is contained in:
2023-05-23 18:10:22 +02:00
parent 5581034487
commit 82b2b8bf57
2 changed files with 5 additions and 5 deletions

View File

@@ -236,11 +236,11 @@ bool Input::discoverGameController()
connectedControllers.push_back(pad);
const string separator(" #");
string name = SDL_GameControllerNameForIndex(i);
name.resize(25);
name = name + separator + to_string(i);
//name.resize(25);
//name = name + separator + to_string(i);
if (verbose)
{
cout << name << endl;
cout << " -" << name << endl;
}
controllerNames.push_back(name);
}