summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/XInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/Src/XInput.cpp')
-rw-r--r--Source/Core/InputCommon/Src/XInput.cpp26
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