summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-06-29 12:17:35 +1200
committerScott Mansell <phiren@gmail.com>2015-07-01 10:13:05 +1200
commit2721fdf8a94e2e49f907eda24a1406d2225acaf6 (patch)
tree1220160a25dddf5a0ab0321b775c6635e8a0665f /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent9a244f07fa270c15c907564ee72a4530845c6ea8 (diff)
Linux: Add an evdev based controller backend, to replace SDL.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
index 408a36fefa..3aca18e95c 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -35,6 +35,9 @@
#if defined(HAVE_SDL) && HAVE_SDL
#define CIFACE_USE_SDL
#endif
+#if defined(HAVE_LIBEVDEV) && defined(HAVE_LIBUDEV)
+ #define CIFACE_USE_EVDEV
+#endif
//
// ControllerInterface