Hook up an InputDeviceListener, and just have it log

This commit is contained in:
Henrik Rydgård
2026-01-25 16:56:34 +01:00
parent 0905e31c3a
commit e7aba8f153
4 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -711,7 +711,7 @@ void GamePauseScreen::ShowContextMenu(UI::View *menuButton, bool portrait) {
std::string confirmMessage = GetConfirmExitMessage();
if (!confirmMessage.empty()) {
auto di = GetI18NCategory(I18NCat::DIALOG);
screenManager()->push(new UI::MessagePopupScreen(di->T("Reset"), confirmMessage, di->T("Reset"), di->T("Cancel"), [this](bool result) {
screenManager()->push(new UI::MessagePopupScreen(di->T("Reset"), confirmMessage, di->T("Reset"), di->T("Cancel"), [](bool result) {
if (result) {
System_PostUIMessage(UIMessage::REQUEST_GAME_RESET);
}