From 928d05ec47a3dd46c6968088e934ff1555fc7fc5 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 3 Sep 2016 15:23:34 -0700 Subject: InputCommon: Remove the Xlib backend The XInput2 backend is more performant, so let's default to it and remove the old, core-only backend. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index f1e62e73cf..9f35040539 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -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 -- cgit v1.2.3