diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-09-08 16:07:13 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-09-08 16:07:13 +0000 |
| commit | 3b76f6dc80c50737c79051461f86eb18c4a13b1d (patch) | |
| tree | 4095f79cd5741ce999afdfef0798ddda968c022f /Source/Core/InputCommon/Src/XInput.cpp | |
| parent | 463e93c41a87b5ebdba2fea607c746ee2a1b3dee (diff) | |
get rid of the 'ÂŻ' chars in source code...non ascii chars are not really good to have floating around for no reason. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Non-ASCII_Characters#Non-ASCII_Characters
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4231 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/XInput.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/XInput.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/Src/XInput.cpp b/Source/Core/InputCommon/Src/XInput.cpp index e49fe65ade..267bf4e714 100644 --- a/Source/Core/InputCommon/Src/XInput.cpp +++ b/Source/Core/InputCommon/Src/XInput.cpp @@ -22,7 +22,7 @@ // File description -/* ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +/* ------------------- Function: This file will get the status of the analog triggers of any connected XInput device. This code was made with the help of SimpleController.cpp in the June 2008 Microsoft DirectX SDK Samples. @@ -33,7 +33,7 @@ // Includes -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +// ------------------- #include <windows.h> #include <XInput.h> // XInput API @@ -47,7 +47,7 @@ namespace XInput // Declarations -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +// ------------------- #define MAX_CONTROLLERS 4 // XInput handles up to 4 controllers @@ -62,7 +62,7 @@ CONTROLER_STATE g_Controllers[MAX_CONTROLLERS]; // Init -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +// ------------------- /* Function: Calculate the number of connected XInput devices Todo: Implement this to figure out if there are multiple XInput controllers connected, we currently only try to connect to XInput device 0 */ @@ -92,7 +92,7 @@ void Init() // Get the trigger status -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +// ------------------- int GetXI(int Controller, int Button) { // Update the internal status @@ -118,7 +118,7 @@ int GetXI(int Controller, int Button) // Check if a certain controller is connected -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +// ------------------- bool IsConnected(int Controller) { DWORD dwResult = XInputGetState( Controller, &g_Controllers[Controller].state ); |
