summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
index b846bb56e8..8c1a044860 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
@@ -29,14 +29,17 @@
#if defined(__APPLE__)
#define CIFACE_USE_OSX
#endif
-
-// idk in case i wanted to change it to double or somethin, idk what's best
+#ifdef ANDROID
+ #define CIFACE_USE_ANDROID
+#endif
+
+// idk in case I wanted to change it to double or something, idk what's best
typedef float ControlState;
//
// ControllerInterface
//
-// some crazy shit i made to control different device inputs and outputs
+// some crazy shit I made to control different device inputs and outputs
// from lots of different sources, hopefully more easily
//
class ControllerInterface
@@ -186,7 +189,7 @@ public:
//
// these are what you create to actually use the inputs, InputReference or OutputReference
//
- // after being binded to devices and controls with ControllerInterface::UpdateReference,
+ // after being bound to devices and controls with ControllerInterface::UpdateReference,
// each one can link to multiple devices and controls
// when you change a ControlReference's expression,
// you must use ControllerInterface::UpdateReference on it to rebind controls