summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2016-06-26 00:17:08 +1200
committerGitHub <noreply@github.com>2016-06-26 00:17:08 +1200
commita7448271a9203aea26f05f62b75e43c5e5860e98 (patch)
tree5e43d6ee5fcfbe74a6bacf1eba81ee0a7a44fa14 /Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp
parent2f9a911c540473bb6cea5a9891a6a281aa2f3750 (diff)
parent9b075556ea826699800d9478d1eed3a80368c348 (diff)
Merge pull request #3892 from leoetlino/ciface-synchronisation
ControllerInterface: Add synchronisation
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp b/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp
index 71269c74f7..a7d94bbcd0 100644
--- a/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp
@@ -11,9 +11,9 @@ namespace ciface
{
namespace Xlib
{
-void Init(std::vector<Core::Device*>& devices, void* const hwnd)
+void Init(void* const hwnd)
{
- devices.push_back(new KeyboardMouse((Window)hwnd));
+ g_controller_interface.AddDevice(new KeyboardMouse((Window)hwnd));
}
KeyboardMouse::KeyboardMouse(Window window) : m_window(window)