summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorMichael M <mchtly@gmail.com>2017-11-04 07:36:30 -0700
committerMichael M <mchtly@gmail.com>2017-11-10 13:37:42 -0800
commit1ed7532af850691eea8d7eee502f59ed20a37694 (patch)
tree12160efda662a6145e68657cd3f6dc76c73ce3f8 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent7355b5f70d2bdf68c356873f2311025a81c7972a (diff)
ControllerInterface: HotplugCallbacks -> DevicesChangedCallbacks
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h7
1 files changed, 3 insertions, 4 deletions
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<void(void)> callback);
+ void RegisterDevicesChangedCallback(std::function<void(void)> callback);
+ void InvokeDevicesChangedCallbacks() const;
private:
- void InvokeHotplugCallbacks() const;
-
- std::vector<std::function<void()>> m_hotplug_callbacks;
+ std::vector<std::function<void()>> m_devices_changed_callbacks;
bool m_is_init;
void* m_hwnd;
};