summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-15 01:16:59 +0100
committerGitHub <noreply@github.com>2020-12-15 01:16:59 +0100
commited1564515b7c4d9a72c56f28b98b571c18212599 (patch)
tree17558412ce62432b266e117710473b7b1e7c803f /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent2c2ec16b53312466cf793978f8f24555bc3d1ba0 (diff)
parent00ec25d520f662c5c60d8b8cc9830687c3ce281f (diff)
Merge pull request #9326 from Subject38/wiimote_deadlock
InputCommon: Fix callback dispatch deadlock
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
index 4f1651f361..84209a720b 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -50,6 +50,7 @@ public:
void Shutdown();
void AddDevice(std::shared_ptr<ciface::Core::Device> device);
void RemoveDevice(std::function<bool(const ciface::Core::Device*)> callback);
+ void PlatformPopulateDevices(std::function<void()> callback);
bool IsInit() const { return m_is_init; }
void UpdateInput();