summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-11-07 16:32:06 -0600
committerGitHub <noreply@github.com>2025-11-07 16:32:06 -0600
commit5af9bd5e4630c671e8a7c71a598d803af028f195 (patch)
tree65e0b320f383eb90afd22842ada615b5409e727d /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent51cd0a676a7979f31751af28485c8cfcd9e5a483 (diff)
parentda6c65bf3b83fa1cfe5da5dc5e43ec49b2786b52 (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.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h5
1 files changed, 2 insertions, 3 deletions
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<bool> m_is_init;