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

@ -24,11 +24,7 @@ elseif(APPLE)
set(LIBS ${LIBS} ${COREFOUNDATION_LIBRARY} ${CARBON_LIBRARY} ${COCOA_LIBRARY})
elseif(X11_FOUND)
set(SRCS ${SRCS}
ControllerInterface/Xlib/Xlib.cpp)
if(XINPUT2_FOUND)
set(SRCS ${SRCS}
ControllerInterface/Xlib/XInput2.cpp)
endif()
ControllerInterface/Xlib/XInput2.cpp)
set(LIBS ${LIBS} ${X11_LIBRARIES} ${XINPUT2_LIBRARIES})
elseif(ANDROID)
add_definitions(-DCIFACE_USE_ANDROID)