summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2026-01-17 19:10:50 -0500
committerGitHub <noreply@github.com>2026-01-17 19:10:50 -0500
commit035bcffc63ecc803abeb6987f66a5b2f78f5f0bc (patch)
treeb46f7ec3d376fc2fef5ac0d2f48769b0e23e9353 /Source/Core/InputCommon/ControllerEmu/StickGate.cpp
parentd098f2bba9fac19d90526fb9f7aceb0bb405b4b4 (diff)
parent1e0473e44f5e21558d75b0121bd935bb50825c26 (diff)
Merge pull request #14289 from Sintendo/typos
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]);
}