HostInterface: Notify host when controller types change

This commit is contained in:
Connor McLaughlin
2020-02-16 00:14:44 +09:00
parent b0c846388e
commit 5f3be68028
6 changed files with 27 additions and 0 deletions

View File

@ -314,6 +314,13 @@ void QtHostInterface::OnRunningGameChanged()
}
}
void QtHostInterface::OnControllerTypeChanged(u32 slot)
{
HostInterface::OnControllerTypeChanged(slot);
updateInputMap();
}
void QtHostInterface::updateInputMap()
{
if (!isOnWorkerThread())