mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-01 18:15:41 +00:00
CommonHostInterface: Default hotkeys for new save state UI
- F1: Load - F2: Save - F3: Select Previous - F4: Select Next
This commit is contained in:
parent
2a710798cc
commit
b9954a943a
|
@ -393,10 +393,15 @@ void CommonHostInterface::SetDefaultSettings(SettingsInterface& si)
|
||||||
si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Pause");
|
si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Pause");
|
||||||
si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt+Return");
|
si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt+Return");
|
||||||
si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape");
|
si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape");
|
||||||
|
si.SetStringValue("Hotkeys", "LoadSelectedSaveState", "Keyboard/F1");
|
||||||
|
si.SetStringValue("Hotkeys", "SaveSelectedSaveState", "Keyboard/F2");
|
||||||
|
si.SetStringValue("Hotkeys", "SelectPreviousSaveStateSlot", "Keyboard/F3");
|
||||||
|
si.SetStringValue("Hotkeys", "SelectNextSaveStateSlot", "Keyboard/F4");
|
||||||
si.SetStringValue("Hotkeys", "Screenshot", "Keyboard/F10");
|
si.SetStringValue("Hotkeys", "Screenshot", "Keyboard/F10");
|
||||||
si.SetStringValue("Hotkeys", "IncreaseResolutionScale", "Keyboard/PageUp");
|
si.SetStringValue("Hotkeys", "IncreaseResolutionScale", "Keyboard/PageUp");
|
||||||
si.SetStringValue("Hotkeys", "DecreaseResolutionScale", "Keyboard/PageDown");
|
si.SetStringValue("Hotkeys", "DecreaseResolutionScale", "Keyboard/PageDown");
|
||||||
si.SetStringValue("Hotkeys", "ToggleSoftwareRendering", "Keyboard/End");
|
si.SetStringValue("Hotkeys", "ToggleSoftwareRendering", "Keyboard/End");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<CommonHostInterface::HostKeyCode>
|
std::optional<CommonHostInterface::HostKeyCode>
|
||||||
|
|
Loading…
Reference in a new issue