From da6c65bf3b83fa1cfe5da5dc5e43ec49b2786b52 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 6 Nov 2025 22:08:27 -0600 Subject: Common: Remove the string parameters from the HookableEvent interface. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h index 806c6b4b2a..05a3a99a05 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -115,8 +115,7 @@ public: bool IsMouseCenteringRequested() const; [[nodiscard]] Common::EventHook - RegisterDevicesChangedCallback(std::string_view name, - Common::HookableEvent<>::CallbackType callback); + RegisterDevicesChangedCallback(Common::HookableEvent<>::CallbackType callback); static void SetCurrentInputChannel(ciface::InputChannel); static ciface::InputChannel GetCurrentInputChannel(); @@ -128,7 +127,7 @@ private: void InvokeDevicesChangedCallbacks(); - Common::HookableEvent<> m_devices_changed_event{"Devices Changed"}; + Common::HookableEvent<> m_devices_changed_event; mutable std::recursive_mutex m_devices_population_mutex; std::atomic m_is_init; -- cgit v1.2.3