From ac3b3e89f4af0cd270988f7c51590039118ade52 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 21 Oct 2022 00:30:08 +1000 Subject: [PATCH] Qt: Make automap failure message more friendly --- src/duckstation-qt/controllerbindingwidgets.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/duckstation-qt/controllerbindingwidgets.cpp b/src/duckstation-qt/controllerbindingwidgets.cpp index ede69663c..adc133716 100644 --- a/src/duckstation-qt/controllerbindingwidgets.cpp +++ b/src/duckstation-qt/controllerbindingwidgets.cpp @@ -261,8 +261,10 @@ void ControllerBindingWidget::doDeviceAutomaticBinding(const QString& device) InputManager::GetGenericBindingMapping(device.toStdString()); if (mapping.empty()) { - QMessageBox::critical(QtUtils::GetRootWidget(this), tr("Automatic Mapping"), - tr("No generic bindings were generated for device '%1'").arg(device)); + QMessageBox::critical( + QtUtils::GetRootWidget(this), tr("Automatic Mapping"), + tr("No generic bindings were generated for device '%1'. The controller/source may not support automatic mapping.") + .arg(device)); return; }