Permalink
Browse files

Merge pull request #6822 from spycrab/qt_fix_defaults

Qt: Fix mapping defaults
  • Loading branch information...
spycrab committed May 12, 2018
2 parents be0f4f7 + c118af7 commit bf0ee9f7022208ac612212a94a7d3bf899718c28
Showing with 11 additions and 0 deletions.
  1. +11 −0 Source/Core/DolphinQt2/MainWindow.cpp
@@ -152,6 +152,17 @@ void MainWindow::InitControllers()
Wiimote::Initialize(Wiimote::InitializeMode::DO_NOT_WAIT_FOR_WIIMOTES);
m_hotkey_scheduler = new HotkeyScheduler();
m_hotkey_scheduler->Start();
// Defaults won't work reliabily without loading and saving the config first
Wiimote::LoadConfig();
Wiimote::GetConfig()->SaveConfig();
Pad::LoadConfig();
Pad::GetConfig()->SaveConfig();
Keyboard::LoadConfig();
Keyboard::GetConfig()->SaveConfig();
}
void MainWindow::ShutdownControllers()

0 comments on commit bf0ee9f

Please sign in to comment.