summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2013-10-31 16:51:56 -0400
committercomex <comexk@gmail.com>2013-10-31 16:51:56 -0400
commit82729fcc8f7eef347720052f8d10c14830b7ae8c (patch)
tree4fde688b5777f87dc0628fd93fe389fd5262d554 /Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
parent4c7bbd96e435a7516b05d3e8c791ab41505e2e0f (diff)
parent8dcd13cca7b3a6ded6ad43f77adec0852504489f (diff)
Merge remote-tracking branch 'shuffle2/vc12'
Conflicts: Source/Core/Common/Common.vcxproj Source/Core/Common/Common.vcxproj.filters
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
index 40c822c577..45be64e91b 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
@@ -7,11 +7,7 @@
#include <algorithm>
#ifdef _WIN32
- #if SDL_VERSION_ATLEAST(1, 3, 0)
- #pragma comment(lib, "SDL.1.3.lib")
- #else
- #pragma comment(lib, "SDL.lib")
- #endif
+#pragma comment(lib, "SDL2.lib")
#endif
namespace ciface
@@ -201,7 +197,7 @@ std::string Joystick::TriangleEffect::GetName() const
return "Triangle";
}
-void Joystick::ConstantEffect::SetState(const ControlState state)
+void Joystick::ConstantEffect::SetState(ControlState state)
{
if (state)
{
@@ -219,7 +215,7 @@ void Joystick::ConstantEffect::SetState(const ControlState state)
m_effect.changed = true;
}
-void Joystick::RampEffect::SetState(const ControlState state)
+void Joystick::RampEffect::SetState(ControlState state)
{
if (state)
{
@@ -237,7 +233,7 @@ void Joystick::RampEffect::SetState(const ControlState state)
m_effect.changed = true;
}
-void Joystick::SineEffect::SetState(const ControlState state)
+void Joystick::SineEffect::SetState(ControlState state)
{
if (state)
{
@@ -260,7 +256,7 @@ void Joystick::SineEffect::SetState(const ControlState state)
}
#ifdef SDL_HAPTIC_SQUARE
-void Joystick::SquareEffect::SetState(const ControlState state)
+void Joystick::SquareEffect::SetState(ControlState state)
{
if (state)
{
@@ -283,7 +279,7 @@ void Joystick::SquareEffect::SetState(const ControlState state)
}
#endif // defined(SDL_HAPTIC_SQUARE)
-void Joystick::TriangleEffect::SetState(const ControlState state)
+void Joystick::TriangleEffect::SetState(ControlState state)
{
if (state)
{