Permalink
Browse files

Qt: Fix mapping defaults

  • Loading branch information...
spycrab committed May 11, 2018
1 parent 76f6c75 commit c118af73c2cb82107b3acf1e509acb39f912e091
Showing with 11 additions and 0 deletions.
  1. +11 −0 Source/Core/DolphinQt2/MainWindow.cpp
@@ -151,6 +151,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 c118af7

Please sign in to comment.