From 9ff1f153bede4e650b8929f48f6dd288513bb841 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 6 May 2021 20:41:27 +1000 Subject: [PATCH] CommonHostInterface: Remove some rarely used default hotkeys --- README.md | 4 +--- src/frontend-common/common_host_interface.cpp | 6 +----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5678971fa..895523ded 100644 --- a/README.md +++ b/README.md @@ -257,9 +257,7 @@ Hotkeys: - **Escape:** Power off console - **ALT+ENTER:** Toggle fullscreen - **Tab:** Temporarily disable speed limiter - - **Pause/Break:** Pause/resume emulation - - **Page Up/Down:** Increase/decrease resolution scale in hardware renderers - - **End:** Toggle software renderer + - **Space:** Pause/resume emulation ## Tests - Passes amidog's CPU and GTE tests in both interpreter and recompiler modes, partial passing of CPX tests diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index 870b40d91..e63b0d4c9 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -2596,13 +2596,9 @@ void CommonHostInterface::SetDefaultSettings(SettingsInterface& si) si.SetStringValue("Controller1", "ButtonR1", "Keyboard/E"); si.SetStringValue("Controller1", "ButtonR2", "Keyboard/3"); si.SetStringValue("Hotkeys", "FastForward", "Keyboard/Tab"); - si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Pause"); + si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Space"); si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt+Return"); si.SetStringValue("Hotkeys", "Screenshot", "Keyboard/F10"); - si.SetStringValue("Hotkeys", "IncreaseResolutionScale", "Keyboard/PageUp"); - si.SetStringValue("Hotkeys", "DecreaseResolutionScale", "Keyboard/PageDown"); - si.SetStringValue("Hotkeys", "ToggleSoftwareRendering", "Keyboard/End"); - si.SetStringValue("Hotkeys", "ChangeDisc", "Keyboard/F8"); si.SetStringValue("Main", "ControllerBackend", ControllerInterface::GetBackendName(ControllerInterface::GetDefaultBackend()));