mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
Input: avoid mouse events when unused
This commit is contained in:
parent
a0d1cf26d0
commit
aa0afc9a4e
4 changed files with 66 additions and 47 deletions
|
@ -191,8 +191,8 @@ error_code cellPadGetData(u32 port_no, vm::ptr<CellPadData> data)
|
|||
}
|
||||
else
|
||||
{
|
||||
u16 d1Initial = pad->m_digital_1;
|
||||
u16 d2Initial = pad->m_digital_2;
|
||||
const u16 d1Initial = pad->m_digital_1;
|
||||
const u16 d2Initial = pad->m_digital_2;
|
||||
|
||||
for (Button& button : pad->m_buttons)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue