mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #10248 from Filoppi/fix_input_config_default_device_load
Fix default input config default device not being loaded/found
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user