From 0f00701c93296e67549cd1c0c874ceef40fcfe0c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 23 May 2021 10:14:15 +0200 Subject: [PATCH] GuiInputConfig now also shows the controller device name during configuration. --- es-core/src/guis/GuiInputConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/guis/GuiInputConfig.cpp b/es-core/src/guis/GuiInputConfig.cpp index 3238f87de..bde82a71d 100644 --- a/es-core/src/guis/GuiInputConfig.cpp +++ b/es-core/src/guis/GuiInputConfig.cpp @@ -91,7 +91,7 @@ GuiInputConfig::GuiInputConfig( else if (target->getDeviceId() == DEVICE_CEC) ss << "CEC"; else - ss << "GAMEPAD " << (target->getDeviceId() + 1); + ss << "GAMEPAD " << (target->getDeviceId() + 1) << " (" << target->getDeviceName() << ")"; mSubtitle1 = std::make_shared(mWindow, Utils::String::toUpper(ss.str()), Font::get(FONT_SIZE_MEDIUM), 0x555555FF, ALIGN_CENTER); mGrid.setEntry(mSubtitle1, Vector2i(0, 2), false, true);