Cleanup
This commit is contained in:
Windsurf7 2026-01-30 17:31:23 +03:00
parent 6a18147aaf
commit a02a605ea2
2 changed files with 2 additions and 2 deletions

View File

@ -610,7 +610,7 @@ void pad_thread::operator()()
{
update_pad_states();
// Inject mouse-based motion sensor values into pad sensors for gyro emulation.
// Apply mouse-based gyro emulation.
// Intentionally bound to Player 1 only.
m_mouse_gyro.apply_gyro(m_pads[0]);
}

View File

@ -1227,7 +1227,7 @@ bool gs_frame::event(QEvent* ev)
handle_cursor(visibility(), false, false, true);
}
// Mouse-based motion input.
// Handle events for mouse-based gyro emulation.
if (Emu.IsRunning())
{
if (auto* pad_thr = pad::get_pad_thread(true))