summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp19
1 files changed, 14 insertions, 5 deletions
diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp
index 46b4b1f302..665d5e9659 100644
--- a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp
+++ b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp
@@ -111,11 +111,15 @@ void MappingWindow::CreateDevicesLayout()
const auto refresh_action = new QAction(tr("Refresh"), options);
connect(refresh_action, &QAction::triggered, this, &MappingWindow::RefreshDevices);
- m_all_devices_action = new QAction(tr("Create mappings for other devices"), options);
- m_all_devices_action->setCheckable(true);
+ m_other_device_mappings = new QAction(tr("Create Mappings for Other Devices"), options);
+ m_other_device_mappings->setCheckable(true);
+
+ m_wait_for_alternate_mappings = new QAction(tr("Wait for Alternate Input Mappings"), options);
+ m_wait_for_alternate_mappings->setCheckable(true);
options->addAction(refresh_action);
- options->addAction(m_all_devices_action);
+ options->addAction(m_other_device_mappings);
+ options->addAction(m_wait_for_alternate_mappings);
options->setDefaultAction(refresh_action);
m_devices_combo->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
@@ -354,9 +358,14 @@ void MappingWindow::OnSelectDevice(int)
m_controller->UpdateReferences(g_controller_interface);
}
-bool MappingWindow::IsMappingAllDevices() const
+bool MappingWindow::IsCreateOtherDeviceMappingsEnabled() const
+{
+ return m_other_device_mappings->isChecked();
+}
+
+bool MappingWindow::IsWaitForAlternateMappingsEnabled() const
{
- return m_all_devices_action->isChecked();
+ return m_wait_for_alternate_mappings->isChecked();
}
void MappingWindow::RefreshDevices()