mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 04:36:57 -06:00
Cleanup
Cleanup
This commit is contained in:
parent
6a18147aaf
commit
a02a605ea2
@ -610,7 +610,7 @@ void pad_thread::operator()()
|
|||||||
{
|
{
|
||||||
update_pad_states();
|
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.
|
// Intentionally bound to Player 1 only.
|
||||||
m_mouse_gyro.apply_gyro(m_pads[0]);
|
m_mouse_gyro.apply_gyro(m_pads[0]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1227,7 +1227,7 @@ bool gs_frame::event(QEvent* ev)
|
|||||||
handle_cursor(visibility(), false, false, true);
|
handle_cursor(visibility(), false, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mouse-based motion input.
|
// Handle events for mouse-based gyro emulation.
|
||||||
if (Emu.IsRunning())
|
if (Emu.IsRunning())
|
||||||
{
|
{
|
||||||
if (auto* pad_thr = pad::get_pad_thread(true))
|
if (auto* pad_thr = pad::get_pad_thread(true))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user