mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
DS4: enumerate devices periodically
This commit is contained in:
parent
b7c2bfbcde
commit
d0cc5c0fc7
4 changed files with 144 additions and 63 deletions
|
|
@ -104,7 +104,7 @@ void pad_thread::Init()
|
|||
const bool is_ldd_pad = pad_settings[i].ldd_handle == static_cast<s32>(i);
|
||||
const auto handler_type = is_ldd_pad ? pad_handler::null : g_cfg_input.player[i]->handler.get();
|
||||
|
||||
if (handlers.count(handler_type) != 0)
|
||||
if (handlers.contains(handler_type))
|
||||
{
|
||||
cur_pad_handler = handlers[handler_type];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue