diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-11-07 16:32:06 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 16:32:06 -0600 |
| commit | 5af9bd5e4630c671e8a7c71a598d803af028f195 (patch) | |
| tree | 65e0b320f383eb90afd22842ada615b5409e727d /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | 51cd0a676a7979f31751af28485c8cfcd9e5a483 (diff) | |
| parent | da6c65bf3b83fa1cfe5da5dc5e43ec49b2786b52 (diff) | |
Merge pull request #14074 from jordan-woyak/HookableEvent-no-strings
Common: Remove the string parameters from the HookableEvent interface.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index 19ac7d3690..7393de9950 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -415,10 +415,9 @@ bool ControllerInterface::IsMouseCenteringRequested() const // Returns a handle for later removing the callback. Common::EventHook -ControllerInterface::RegisterDevicesChangedCallback(std::string_view name, - Common::HookableEvent<>::CallbackType callback) +ControllerInterface::RegisterDevicesChangedCallback(Common::HookableEvent<>::CallbackType callback) { - return m_devices_changed_event.Register(std::move(callback), name); + return m_devices_changed_event.Register(std::move(callback)); } // Invoke all callbacks that were registered |
