summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-12-09 22:20:55 +0100
committerGitHub <noreply@github.com>2021-12-09 22:20:55 +0100
commite0a61ed9a0e00eec7e1e30b3df1499f90b6dd3b7 (patch)
tree0ac8e4103ced709c92d93db22a2dad850cc0b64f /Source/Core/DolphinQt/MainWindow.cpp
parentd5d21c6533ff2709b9cdf357b0569f3418264812 (diff)
parent125971d9f2cbfff81985610a750364a54c3d452d (diff)
Merge pull request #10248 from Filoppi/fix_input_config_default_device_load
Fix default input config default device not being loaded/found
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index aacdea6a71..ca32c71dcd 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -319,6 +319,13 @@ void MainWindow::InitControllers()
return;
g_controller_interface.Initialize(GetWindowSystemInfo(windowHandle()));
+ if (!g_controller_interface.HasDefaultDevice())
+ {
+ // Note that the CI default device could be still temporarily removed at any time
+ WARN_LOG(CONTROLLERINTERFACE,
+ "No default device has been added in time. EmulatedController(s) defaulting adds"
+ " input mappings made for a specific default device depending on the platform");
+ }
Pad::Initialize();
Pad::InitializeGBA();
Keyboard::Initialize();