From 1ed7532af850691eea8d7eee502f59ed20a37694 Mon Sep 17 00:00:00 2001 From: Michael M Date: Sat, 4 Nov 2017 07:36:30 -0700 Subject: ControllerInterface: HotplugCallbacks -> DevicesChangedCallbacks --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 7 +++---- 1 file changed, 3 insertions(+), 4 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 eb94a8de67..e70c135b3e 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -53,12 +53,11 @@ public: bool IsInit() const { return m_is_init; } void UpdateInput(); - void RegisterHotplugCallback(std::function callback); + void RegisterDevicesChangedCallback(std::function callback); + void InvokeDevicesChangedCallbacks() const; private: - void InvokeHotplugCallbacks() const; - - std::vector> m_hotplug_callbacks; + std::vector> m_devices_changed_callbacks; bool m_is_init; void* m_hwnd; }; -- cgit v1.2.3