implement CELL_PAD_INFO_INTERCEPTED

This commit is contained in:
Megamouse 2018-12-30 02:34:15 +01:00
parent 8ad14c4ada
commit 6f7b25de90
13 changed files with 250 additions and 153 deletions

View file

@ -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;
}
}