summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
diff options
context:
space:
mode:
authorSintendo <3380580+Sintendo@users.noreply.github.com>2026-01-17 19:02:37 +0100
committerSintendo <3380580+Sintendo@users.noreply.github.com>2026-01-17 20:11:38 +0100
commit1e0473e44f5e21558d75b0121bd935bb50825c26 (patch)
tree09ddd41f1d76589db003550271f2a74d58b271ab /Source/Core/InputCommon/ControllerEmu/StickGate.cpp
parent9ec1d70f513a3e71b64fe08f7ba4e52df3d060a2 (diff)
Fix various typos and spelling mistakes
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/StickGate.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/StickGate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/StickGate.cpp b/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
index c1e8a29b2d..660ee939be 100644
--- a/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
@@ -34,7 +34,7 @@ std::optional<double> GetRayLineIntersection(Common::DVec2 ray, Common::DVec2 po
const auto dot = diff.Dot({-ray.y, ray.x});
if (std::abs(dot) < 0.00001)
{
- // Both points are on top of eachother.
+ // Both points are on top of each other.
return std::nullopt;
}
@@ -169,7 +169,7 @@ ControlState ReshapableInput::GetCalibrationDataRadiusAtAngle(const CalibrationD
GetPointFromAngleAndLength(sample1_angle, data[sample1_index]),
GetPointFromAngleAndLength(sample2_angle, data[sample2_index]));
- // Intersection has no value when points are on top of eachother.
+ // Intersection has no value when points are on top of each other.
return intersection.value_or(data[sample1_index]);
}