From 44bbb54a62a58be4ad39caf6ba55ff98244223d5 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 14 Apr 2013 23:02:53 -0500 Subject: Add a Androind ControllerInterface class for allowing input in a non-hacky way. Add a default GCPad.ini file so it actually works. --- .../Core/InputCommon/Src/ControllerInterface/ControllerInterface.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h') diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h index b846bb56e8..59bc49ac51 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h @@ -29,7 +29,10 @@ #if defined(__APPLE__) #define CIFACE_USE_OSX #endif - +#ifdef ANDROID + #define CIFACE_USE_ANDROID +#endif + // idk in case i wanted to change it to double or somethin, idk what's best typedef float ControlState; -- cgit v1.2.3 From d244bca1f5f210e03839d0e0a485fc5511ede2d6 Mon Sep 17 00:00:00 2001 From: lioncash Date: Fri, 19 Apr 2013 09:21:45 -0400 Subject: Fix a bunch of random typos in comments and logging. Also update the comment headers for two functions in GCMemcard.cpp. --- .../Core/InputCommon/Src/ControllerInterface/ControllerInterface.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h') diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h index 59bc49ac51..8c1a044860 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h @@ -33,13 +33,13 @@ #define CIFACE_USE_ANDROID #endif -// idk in case i wanted to change it to double or somethin, idk what's best +// 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 @@ -189,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 -- cgit v1.2.3