From b9954a943a4a06bad76f3ef6e420ea9db115f486 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 21 Apr 2020 03:07:51 +1000 Subject: [PATCH] CommonHostInterface: Default hotkeys for new save state UI - F1: Load - F2: Save - F3: Select Previous - F4: Select Next --- src/frontend-common/common_host_interface.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index e21bc3807..b3813b9c6 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -393,10 +393,15 @@ void CommonHostInterface::SetDefaultSettings(SettingsInterface& si) si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Pause"); si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt+Return"); 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", "IncreaseResolutionScale", "Keyboard/PageUp"); si.SetStringValue("Hotkeys", "DecreaseResolutionScale", "Keyboard/PageDown"); si.SetStringValue("Hotkeys", "ToggleSoftwareRendering", "Keyboard/End"); + } std::optional