Linux: Add an evdev based controller backend, to replace SDL.

This commit is contained in:
Scott Mansell
2015-06-29 12:17:35 +12:00
parent 9a244f07fa
commit 2721fdf8a9
8 changed files with 438 additions and 0 deletions

View File

@ -37,6 +37,11 @@ elseif(ANDROID)
ControllerInterface/Android/Android.cpp)
endif()
if(LIBEVDEV_FOUND AND LIBUDEV_FOUND)
set(SRCS ${SRCS} ControllerInterface/evdev/evdev.cpp)
set(LIBS ${LIBS} ${LIBEVDEV_LIBRARY} ${LIBUDEV_LIBRARY})
endif()
if(SDL_FOUND OR SDL2_FOUND)
set(SRCS ${SRCS} ControllerInterface/SDL/SDL.cpp)
if (SDL2_FOUND)