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

@ -541,12 +541,7 @@ if(USE_X11)
add_definitions(-DHAVE_XRANDR=0)
endif(XRANDR_FOUND)
pkg_check_modules(XINPUT2 xi>=1.5.0)
if(XINPUT2_FOUND)
add_definitions(-DHAVE_X11_XINPUT2=1)
else()
add_definitions(-DHAVE_X11_XINPUT2=0)
endif(XINPUT2_FOUND)
pkg_check_modules(XINPUT2 REQUIRED xi>=1.5.0)
endif()
if(ENCODE_FRAMEDUMPS)
check_libav()