mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 23:43:13 +00:00
Merge pull request #6822 from spycrab/qt_fix_defaults
Qt: Fix mapping defaults
This commit is contained in:
commit
bf0ee9f702
@ -152,6 +152,17 @@ void MainWindow::InitControllers()
|
|||||||
Wiimote::Initialize(Wiimote::InitializeMode::DO_NOT_WAIT_FOR_WIIMOTES);
|
Wiimote::Initialize(Wiimote::InitializeMode::DO_NOT_WAIT_FOR_WIIMOTES);
|
||||||
m_hotkey_scheduler = new HotkeyScheduler();
|
m_hotkey_scheduler = new HotkeyScheduler();
|
||||||
m_hotkey_scheduler->Start();
|
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()
|
void MainWindow::ShutdownControllers()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user