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 2016-09-03 15:23:34 -07:00
parent 2b640a4f7d
commit 928d05ec47
6 changed files with 2 additions and 272 deletions

View file

@ -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