mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 11:55:37 +00:00
CommonHost: Default escape to opening pause menu
This commit is contained in:
parent
a1edddc59d
commit
cac9c3fe04
|
@ -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;
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue