From dd92c7bf51f7f5c2b414a0340e1387ec42d43416 Mon Sep 17 00:00:00 2001 From: Windsurf7 Date: Tue, 27 Jan 2026 21:10:02 +0300 Subject: [PATCH] Some comment fixes Some comment fixes --- rpcs3/Input/pad_thread.cpp | 5 +++-- rpcs3/rpcs3qt/gs_frame.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rpcs3/Input/pad_thread.cpp b/rpcs3/Input/pad_thread.cpp index 01ebdda0bb..af73aa7a57 100644 --- a/rpcs3/Input/pad_thread.cpp +++ b/rpcs3/Input/pad_thread.cpp @@ -606,8 +606,8 @@ void pad_thread::operator()() apply_copilots(); - // Inject hardcoded mouse-based motion deltas into pad sensors for gyro emulation. - // The Qt frontend accumulates deltas while RMB is held. + // Inject mouse-based motion sensor values into pad sensors for gyro emulation. + // The Qt frontend maps cursor offset and wheel input to absolute motion values while RMB is held. if (Emu.IsRunning()) { const bool reset = m_mouse_gyro.reset; @@ -618,6 +618,7 @@ void pad_thread::operator()() if (gyro_x || gyro_y || gyro_z || reset) { + // Mouse-based gyro input is intentionally bound to Player 1 only. auto& pad = m_pads[0]; if (pad && pad->is_connected()) diff --git a/rpcs3/rpcs3qt/gs_frame.cpp b/rpcs3/rpcs3qt/gs_frame.cpp index fb219578ce..34eff7090b 100644 --- a/rpcs3/rpcs3qt/gs_frame.cpp +++ b/rpcs3/rpcs3qt/gs_frame.cpp @@ -1268,7 +1268,7 @@ bool gs_frame::event(QEvent* ev) { auto* e = static_cast(ev); - // Track mouse wheels steps. + // Track mouse wheel steps. const s32 steps = e->angleDelta().y() / 120; // Accumulate mouse wheel steps while gyro emulation is active.