CommonHost: Default escape to opening pause menu

This commit is contained in:
Connor McLaughlin 2022-07-23 13:27:35 +10:00
parent a1edddc59d
commit cac9c3fe04
2 changed files with 2 additions and 2 deletions

View file

@ -538,7 +538,7 @@ void MainWindow::onSystemDestroyed()
// update UI // update UI
{ {
QSignalBlocker sb(m_ui.actionPause); QSignalBlocker sb(m_ui.actionPause);
m_ui.actionPause->setChecked(true); m_ui.actionPause->setChecked(false);
} }
s_system_valid = false; s_system_valid = false;

View file

@ -305,7 +305,7 @@ void CommonHost::SetDefaultHotkeyBindings(SettingsInterface& si)
si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt & Keyboard/Return"); si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt & Keyboard/Return");
si.SetStringValue("Hotkeys", "Screenshot", "Keyboard/F10"); si.SetStringValue("Hotkeys", "Screenshot", "Keyboard/F10");
si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape"); si.SetStringValue("Hotkeys", "OpenPauseMenu", "Keyboard/Escape");
si.SetStringValue("Hotkeys", "LoadSelectedSaveState", "Keyboard/F1"); si.SetStringValue("Hotkeys", "LoadSelectedSaveState", "Keyboard/F1");
si.SetStringValue("Hotkeys", "SaveSelectedSaveState", "Keyboard/F2"); si.SetStringValue("Hotkeys", "SaveSelectedSaveState", "Keyboard/F2");
si.SetStringValue("Hotkeys", "SelectPreviousSaveStateSlot", "Keyboard/F3"); si.SetStringValue("Hotkeys", "SelectPreviousSaveStateSlot", "Keyboard/F3");