summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/Configuration.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-09-08 16:07:13 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-09-08 16:07:13 +0000
commit3b76f6dc80c50737c79051461f86eb18c4a13b1d (patch)
tree4095f79cd5741ce999afdfef0798ddda968c022f /Source/Core/InputCommon/Src/Configuration.cpp
parent463e93c41a87b5ebdba2fea607c746ee2a1b3dee (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/Configuration.cpp')
-rw-r--r--Source/Core/InputCommon/Src/Configuration.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/Core/InputCommon/Src/Configuration.cpp b/Source/Core/InputCommon/Src/Configuration.cpp
index 1909fe2264..f7f25d2cfe 100644
--- a/Source/Core/InputCommon/Src/Configuration.cpp
+++ b/Source/Core/InputCommon/Src/Configuration.cpp
@@ -1,6 +1,6 @@
// Project description
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// -------------------
// Name: Input Configuration and Calibration
// Description: Common SDL Input Functions
//
@@ -32,7 +32,7 @@
// Include
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// -------------------
#if defined HAVE_WX && HAVE_WX
#include <wx/wx.h>
#endif
@@ -52,7 +52,7 @@ namespace InputCommon
// Degree to radian and back
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// -------------
float Deg2Rad(float Deg)
{
return Deg * ((float)M_PI / 180.0f);
@@ -66,7 +66,7 @@ float Rad2Deg(float Rad)
// Check if the pad is within the dead zone, we assume the range is 0x8000
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// ----------------
float CoordinatesToRadius(int x, int y)
{
return sqrt(pow((float)x, 2) + pow((float)y, 2));
@@ -90,13 +90,13 @@ bool IsDeadZone(float DeadZone, int x, int y)
// Scale down stick values from 0x8000 to 0x80
-/* ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+/* ----------------
The value returned by SDL_JoystickGetAxis is a signed integer s16
(-32768 to 32767). The value used for the gamecube controller is an unsigned
char u8 (0 to 255) with neutral at 0x80 (128), so that it's equivalent to a signed
-128 to 127.
*/
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// ---------------------
int Pad_Convert(int _val)
{
/* If the limits on PadState[].axis[] actually is a u16 then we don't need this
@@ -119,7 +119,7 @@ int Pad_Convert(int _val)
// Adjust the radius
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// ----------------
void RadiusAdjustment(int &_x, int &_y, int _pad, std::string SRadius)
{
// Get the radius setting
@@ -157,7 +157,7 @@ void RadiusAdjustment(int &_x, int &_y, int _pad, std::string SRadius)
XBox 360 Wireless: 85%
GameCube Controller (Third Party) with EMS Trio Linker Plus II: 60%
*/
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// ---------------------
/* Calculate the distance from the outer edges of the box to the outer edges of the circle inside the box
at any angle from 0° to 360°. The returned value is 1 + Distance, for example at most sqrt(2) in the
@@ -233,7 +233,7 @@ void Square2Circle(int &_x, int &_y, int _pad, std::string SDiagonal, bool Circl
// Windows Virtual Key Codes Names
-// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
+// ---------------------
#ifdef _WIN32
std::string VKToString(int keycode)
{