Added spaces to the names for the controller types, where applicable.

This commit is contained in:
Leon Styhre 2021-05-23 19:19:00 +02:00
parent 4d4210a419
commit 66b0c4ad97

View file

@ -764,9 +764,9 @@ void GuiMenu::openInputDeviceOptions()
(mWindow, getHelpStyle(), "CONTROLLER TYPE", false); (mWindow, getHelpStyle(), "CONTROLLER TYPE", false);
std::string selectedPlayer = Settings::getInstance()->getString("InputControllerType"); std::string selectedPlayer = Settings::getInstance()->getString("InputControllerType");
input_controller_type->add("XBOX", "xbox", selectedPlayer == "xbox"); input_controller_type->add("XBOX", "xbox", selectedPlayer == "xbox");
input_controller_type->add("XBOX360", "xbox360", selectedPlayer == "xbox360"); input_controller_type->add("XBOX 360", "xbox360", selectedPlayer == "xbox360");
input_controller_type->add("PLAYSTATION4", "ps4", selectedPlayer == "ps4"); input_controller_type->add("PLAYSTATION 4", "ps4", selectedPlayer == "ps4");
input_controller_type->add("PLAYSTATION5", "ps5", selectedPlayer == "ps5"); input_controller_type->add("PLAYSTATION 5", "ps5", selectedPlayer == "ps5");
input_controller_type->add("SNES", "snes", selectedPlayer == "snes"); input_controller_type->add("SNES", "snes", selectedPlayer == "snes");
// If there are no objects returned, then there must be a manually modified entry in the // If there are no objects returned, then there must be a manually modified entry in the
// configuration file. Simply set the controller type to "xbox" in this case. // configuration file. Simply set the controller type to "xbox" in this case.