diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-11-06 22:08:27 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-11-06 22:34:40 -0600 |
| commit | da6c65bf3b83fa1cfe5da5dc5e43ec49b2786b52 (patch) | |
| tree | 1538fff3c783052707c8513738ba5cdc636ece48 /Source/Core/InputCommon/InputConfig.cpp | |
| parent | 5650be68425960131225bcd3ea5a8dfc85074148 (diff) | |
Common: Remove the string parameters from the HookableEvent interface.
Diffstat (limited to 'Source/Core/InputCommon/InputConfig.cpp')
| -rw-r--r-- | Source/Core/InputCommon/InputConfig.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/InputConfig.cpp b/Source/Core/InputCommon/InputConfig.cpp index 0e56adf378..6a6495c29c 100644 --- a/Source/Core/InputCommon/InputConfig.cpp +++ b/Source/Core/InputCommon/InputConfig.cpp @@ -172,11 +172,10 @@ void InputConfig::RegisterHotplugCallback() { // Update control references on all controllers // as configured devices may have been added or removed. - m_hotplug_event_hook = - g_controller_interface.RegisterDevicesChangedCallback("InputConfig", [this] { - for (auto& controller : m_controllers) - controller->UpdateReferences(g_controller_interface); - }); + m_hotplug_event_hook = g_controller_interface.RegisterDevicesChangedCallback([this] { + for (auto& controller : m_controllers) + controller->UpdateReferences(g_controller_interface); + }); } void InputConfig::UnregisterHotplugCallback() |
