InputCommon: Remove the Xlib backend

The XInput2 backend is more performant, so let's default to it and
remove the old, core-only backend.
This commit is contained in:
Jasper St. Pierre committed 2016-09-04 10:44:22 -07:00
1 parent 2b640a4f7d
commit 928d05ec47
6 files changed
+2 -272

No files matched your search

@@ -14,11 +14,8 @@
#include "InputCommon/ControllerInterface/DInput/DInput.h"
#endif
#ifdef CIFACE_USE_XLIB
#include "InputCommon/ControllerInterface/Xlib/Xlib.h"
#ifdef CIFACE_USE_X11_XINPUT2
#include "InputCommon/ControllerInterface/Xlib/XInput2.h"
#endif
#endif
#ifdef CIFACE_USE_OSX
#include "InputCommon/ControllerInterface/OSX/OSX.h"
#endif
@@ -63,11 +60,8 @@ void ControllerInterface::Initialize(void* const hwnd)
ciface::XInput::Init();
#endif
#ifdef CIFACE_USE_XLIB
ciface::Xlib::Init(hwnd);
#ifdef CIFACE_USE_X11_XINPUT2
ciface::XInput2::Init(hwnd);
#endif
#endif
#ifdef CIFACE_USE_OSX
ciface::OSX::Init(hwnd);
#endif