summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-08-21 01:52:16 +0100
committerGitHub <noreply@github.com>2024-08-21 01:52:16 +0100
commit7b8b733b11b18875cb702615dfabb852db024d52 (patch)
treeaac1bcc5de72be1637b5f64e3d39a73df8d9d450 /Source/Core/InputCommon
parent44f1a7586565307155b329d911a57fbf65785a57 (diff)
parent9602f36248edec803275128a0a327e3355f9472d (diff)
Merge pull request #13022 from tygyh/Remove-redundant-semicolons
Remove redundant semicolons
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControlReference/ExpressionParser.cpp2
-rw-r--r--Source/Core/InputCommon/ControllerEmu/StickGate.h2
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp8
3 files changed, 7 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
index 2e2adab6c0..b558d6b78f 100644
--- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
@@ -283,7 +283,7 @@ public:
m_output = env.FindOutput(m_qualifier);
}
- Device::Input* GetInput() const { return m_input; };
+ Device::Input* GetInput() const { return m_input; }
private:
// Keep a shared_ptr to the device so the control pointer doesn't become invalid.
diff --git a/Source/Core/InputCommon/ControllerEmu/StickGate.h b/Source/Core/InputCommon/ControllerEmu/StickGate.h
index c618a0a4b4..000ca993f7 100644
--- a/Source/Core/InputCommon/ControllerEmu/StickGate.h
+++ b/Source/Core/InputCommon/ControllerEmu/StickGate.h
@@ -87,7 +87,7 @@ public:
ControlState GetDeadzonePercentage() const;
- virtual ControlState GetVirtualNotchSize() const { return 0.0; };
+ virtual ControlState GetVirtualNotchSize() const { return 0.0; }
virtual ControlState GetGateRadiusAtAngle(double angle) const = 0;
virtual ReshapeData GetReshapableState(bool adjusted) const = 0;
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
index feb1f8f4ce..0dfcd51281 100644
--- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
@@ -244,10 +244,12 @@ private:
public:
MotionInput(std::string name, SDL_GameController* gc, SDL_SensorType type, int index,
ControlState scale)
- : m_name(std::move(name)), m_gc(gc), m_type(type), m_index(index), m_scale(scale){};
+ : m_name(std::move(name)), m_gc(gc), m_type(type), m_index(index), m_scale(scale)
+ {
+ }
- std::string GetName() const override { return m_name; };
- bool IsDetectable() const override { return false; };
+ std::string GetName() const override { return m_name; }
+ bool IsDetectable() const override { return false; }
ControlState GetState() const override;
private: