mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
implement CELL_PAD_INFO_INTERCEPTED
This commit is contained in:
parent
8ad14c4ada
commit
6f7b25de90
13 changed files with 250 additions and 153 deletions
|
|
@ -328,6 +328,7 @@ void xinput_pad_handler::ThreadProc()
|
|||
switch (result)
|
||||
{
|
||||
case ERROR_DEVICE_NOT_CONNECTED:
|
||||
{
|
||||
if (last_connection_status[i] == true)
|
||||
{
|
||||
LOG_ERROR(HLE, "XInput device %d disconnected", padnum);
|
||||
|
|
@ -337,8 +338,9 @@ void xinput_pad_handler::ThreadProc()
|
|||
connected--;
|
||||
}
|
||||
continue;
|
||||
|
||||
}
|
||||
case ERROR_SUCCESS:
|
||||
{
|
||||
if (last_connection_status[i] == false)
|
||||
{
|
||||
LOG_SUCCESS(HLE, "XInput device %d reconnected", padnum);
|
||||
|
|
@ -437,7 +439,9 @@ void xinput_pad_handler::ThreadProc()
|
|||
m_dev->last_vibration = clock();
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue