summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorspxtr <spextear@gmail.com>2015-10-24 20:20:03 -0700
committerspxtr <spextear@gmail.com>2015-10-24 20:20:03 -0700
commitd9d6cf8eda0d4cd8d0350c1a4e9b5f6b708e084d (patch)
treeaf75b93469bf4c653934d8e2dd39543aea9f0e5b /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parentb0bbe52cc96c8182dc46dec20c10d14f05a133db (diff)
GC controller input using named pipes
Currently only works on unix, but can be extended to other systems. Can also be extended to do wiimotes. Searches the Pipes folder for readable named pipes and creates a dolphin input device out of them. Send controller inputs to the game by writing to the file. Commands are described in Pipes.h.
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 3aca18e95c..08b282dba8 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -38,6 +38,9 @@
#if defined(HAVE_LIBEVDEV) && defined(HAVE_LIBUDEV)
#define CIFACE_USE_EVDEV
#endif
+#if defined(USE_PIPES)
+ #define CIFACE_USE_PIPES
+#endif
//
// ControllerInterface