From 3b76f6dc80c50737c79051461f86eb18c4a13b1d Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 8 Sep 2009 16:07:13 +0000 Subject: =?UTF-8?q?get=20rid=20of=20the=20'=C2=AF'=20chars=20in=20source?= =?UTF-8?q?=20code...non=20ascii=20chars=20are=20not=20really=20good=20to?= =?UTF-8?q?=20have=20floating=20around=20for=20no=20reason.=20http://googl?= =?UTF-8?q?e-styleguide.googlecode.com/svn/trunk/cppguide.xml=3Fshowone=3D?= =?UTF-8?q?Non-ASCII=5FCharacters#Non-ASCII=5FCharacters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4231 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/XInput.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Source/Core/InputCommon/Src/XInput.cpp') 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 #include // 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 ); -- cgit v1.2.3