From d64b954a45b313fb9f4af25a5dbcdf17cdcbfd8a Mon Sep 17 00:00:00 2001 From: TheRhysWyrill Date: Mon, 15 May 2023 16:47:40 +0100 Subject: [PATCH] Connect Controller OSD display --- pcsx2-winrt/App.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcsx2-winrt/App.cpp b/pcsx2-winrt/App.cpp index 5606f6395092d..e085ec43e0cfd 100644 --- a/pcsx2-winrt/App.cpp +++ b/pcsx2-winrt/App.cpp @@ -230,10 +230,12 @@ std::optional Host::GetTopLevelWindowInfo() void Host::OnInputDeviceConnected(const std::string_view& identifier, const std::string_view& device_name) { + Host::AddKeyedOSDMessage(fmt::format("{} connected.", identifier), fmt::format("{} connected.", identifier), 5.0f); } void Host::OnInputDeviceDisconnected(const std::string_view& identifier) { + Host::AddKeyedOSDMessage(fmt::format("{} connected.", identifier), fmt::format("{} disconnected.", identifier), 5.0f); } void Host::SetRelativeMouseMode(bool enabled)