mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
GuiInputConfig now also shows the controller device name during configuration.
This commit is contained in:
parent
2d5c6ed6c4
commit
0f00701c93
|
@ -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<TextComponent>(mWindow, Utils::String::toUpper(ss.str()),
|
||||
Font::get(FONT_SIZE_MEDIUM), 0x555555FF, ALIGN_CENTER);
|
||||
mGrid.setEntry(mSubtitle1, Vector2i(0, 2), false, true);
|
||||
|
|
Loading…
Reference in a new issue