mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 12:05:38 +00:00
Added a message to GuiDetectDevice if only accepting input from the first controller.
This commit is contained in:
parent
52e12da55a
commit
f59223927e
|
@ -48,6 +48,10 @@ GuiDetectDevice::GuiDetectDevice(
|
|||
deviceInfo << numDevices << " GAMEPAD" << (numDevices > 1 ? "S" : "") << " DETECTED";
|
||||
else
|
||||
deviceInfo << "NO GAMEPADS DETECTED";
|
||||
|
||||
if (numDevices > 1 && Settings::getInstance()->getBool("InputOnlyFirstController"))
|
||||
deviceInfo << " (ONLY ACCEPTING INPUT FROM FIRST CONTROLLER)";
|
||||
|
||||
mDeviceInfo = std::make_shared<TextComponent>(mWindow, deviceInfo.str(),
|
||||
Font::get(FONT_SIZE_SMALL), 0x999999FF, ALIGN_CENTER);
|
||||
mGrid.setEntry(mDeviceInfo, Vector2i(0, 1), false, true);
|
||||
|
|
Loading…
Reference in a new issue