mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
input: fix now_connect in raw mouse handler
This commit is contained in:
parent
58863c0c41
commit
5d6d42d15d
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ void raw_mouse_handler::Init(const u32 max_connect)
|
|||
std::set<u32> connected_mice{};
|
||||
for (const auto& [handle, mouse] : m_raw_mice)
|
||||
{
|
||||
now_connect = std::max(now_connect, mouse.index());
|
||||
now_connect = std::max(now_connect, mouse.index() + 1);
|
||||
connected_mice.insert(mouse.index());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue