diff options
| author | JMC47 <JMC4789@gmail.com> | 2026-01-17 19:10:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 19:10:50 -0500 |
| commit | 035bcffc63ecc803abeb6987f66a5b2f78f5f0bc (patch) | |
| tree | b46f7ec3d376fc2fef5ac0d2f48769b0e23e9353 /Source/Core/InputCommon/ControllerInterface | |
| parent | d098f2bba9fac19d90526fb9f7aceb0bb405b4b4 (diff) | |
| parent | 1e0473e44f5e21558d75b0121bd935bb50825c26 (diff) | |
Merge pull request #14289 from Sintendo/typos
Fix various typos and spelling mistakes
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
3 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h index aca2176e6d..6d0559ca52 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h @@ -240,7 +240,7 @@ struct Message std::optional<ToMsgType> CheckAndCastTo() { const u32 crc32_in_header = m_message.header.crc32; - // zero out the crc32 in the packet once we got it since that's whats needed for calculation + // zero out the crc32 in the packet once we got it since that's what's needed for calculation m_message.header.crc32 = 0; const u32 crc32_calculated = Common::ComputeCRC32(reinterpret_cast<const u8*>(&m_message), sizeof(ToMsgType)); diff --git a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp index 428a7ed6a3..567090ee7b 100644 --- a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp @@ -328,7 +328,7 @@ private: if (m_switch == WGI::GameControllerSwitchPosition::Center) return 0.0; - // All of the "inbetween" states (e.g. Up-Right) are one-off from the four cardinal + // All of the "in between" states (e.g. Up-Right) are one-off from the four cardinal // directions. This tests that the current switch state value is within 1 of the desired // state. const auto direction_diff = std::abs(static_cast<int32_t>(m_switch) - m_direction); diff --git a/Source/Core/InputCommon/ControllerInterface/Wiimote/WiimoteController.cpp b/Source/Core/InputCommon/ControllerInterface/Wiimote/WiimoteController.cpp index 9b5fe3c1e9..b062684100 100644 --- a/Source/Core/InputCommon/ControllerInterface/Wiimote/WiimoteController.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Wiimote/WiimoteController.cpp @@ -737,7 +737,7 @@ void Device::ProcessExtensionID(u8 id_0, u8 id_4, u8 id_5) } else { - // This is a normal occurance before extension initialization. + // This is a normal occurrence before extension initialization. DEBUG_LOG_FMT(WIIMOTE, "WiiRemote: Unknown extension: {} {} {}.", id_0, id_4, id_5); m_extension_id = ExtensionID::Unsupported; } @@ -1328,7 +1328,7 @@ void Device::IRState::ProcessData(const DataReportManipulator& manipulator) if (points.Count() >= 2) { const auto variance = points.PopulationVariance(); - // Adjusts Y coorinate to match horizontal FOV. + // Adjusts Y coordinate to match horizontal FOV. const auto separation = Common::Vec2(std::sqrt(variance.x), std::sqrt(variance.y)) / Common::Vec2(WiimoteEmu::CameraLogic::CAMERA_RES_X, |
