diff options
| author | Marcus Wanners <marcus@wanners.net> | 2009-09-02 21:00:45 +0000 |
|---|---|---|
| committer | Marcus Wanners <marcus@wanners.net> | 2009-09-02 21:00:45 +0000 |
| commit | 50593397f3eb327cd7119faea977622251b55224 (patch) | |
| tree | e3b5158a6e77d04c3c6dd7b3fcc54419ecb2e424 /Source/Core/InputCommon/Src/XInput.cpp | |
| parent | c64b1ca5dc0615decb6166cbc0f4fffa65ad2429 (diff) | |
Got rid of all of jp's ////////////////////////////// lines (nearly 500 of them)!
Yes, I used a script :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4169 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/XInput.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/XInput.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/Core/InputCommon/Src/XInput.cpp b/Source/Core/InputCommon/Src/XInput.cpp index 024d9e44b9..e49fe65ade 100644 --- a/Source/Core/InputCommon/Src/XInput.cpp +++ b/Source/Core/InputCommon/Src/XInput.cpp @@ -1,4 +1,4 @@ -////////////////////////////////////////////////////////////////////////////////////////// + // // Licensetype: GNU General Public License (GPL) // @@ -17,10 +17,10 @@ // Official SVN repository and contact information can be found at // http://code.google.com/p/dolphin-emu/ // -////////////////////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////// + + // File description /* ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Function: This file will get the status of the analog triggers of any connected XInput device. @@ -31,21 +31,21 @@ #ifdef _WIN32 -////////////////////////////////////////////////////////////////////////////////////////// + // Includes // ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ #include <windows.h> #include <XInput.h> // XInput API #include "SDL.h" // Local -/////////////////////////////////////////////// + namespace XInput { -////////////////////////////////////////////////////////////////////////////////////////// + // Declarations // ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ @@ -57,10 +57,10 @@ struct CONTROLER_STATE bool bConnected; }; CONTROLER_STATE g_Controllers[MAX_CONTROLLERS]; -/////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////// + + // Init // ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ /* Function: Calculate the number of connected XInput devices @@ -87,10 +87,10 @@ void Init() } } -/////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////// + + // Get the trigger status // ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ int GetXI(int Controller, int Button) @@ -113,10 +113,10 @@ int GetXI(int Controller, int Button) return 0; } } -/////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////// + + // Check if a certain controller is connected // ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ bool IsConnected(int Controller) @@ -129,7 +129,7 @@ bool IsConnected(int Controller) else return false; } -/////////////////////////////////////////// + } // XInput |
