Qt: Add option to pause when controller is disconnected

This commit is contained in:
Stenzek
2024-05-15 07:42:19 +10:00
committed by Connor McLaughlin
parent b9d7b63b32
commit f084e76f36
14 changed files with 135 additions and 78 deletions

View File

@@ -64,11 +64,11 @@ std::optional<WindowInfo> Host::GetTopLevelWindowInfo()
return std::nullopt;
}
void Host::OnInputDeviceConnected(const std::string_view& identifier, const std::string_view& device_name)
void Host::OnInputDeviceConnected(const std::string_view identifier, const std::string_view device_name)
{
}
void Host::OnInputDeviceDisconnected(const std::string_view& identifier)
void Host::OnInputDeviceDisconnected(const InputBindingKey key, const std::string_view identifier)
{
}