Android: Remove quick menu hotkey

It has its own quick menu hotkey.
This commit is contained in:
Connor McLaughlin 2021-03-31 01:13:41 +10:00
parent 7e11987ba8
commit 872a9b95c7

View file

@ -1767,11 +1767,13 @@ static void DisplayHotkeyBlockedByChallengeModeMessage()
void CommonHostInterface::RegisterGeneralHotkeys() void CommonHostInterface::RegisterGeneralHotkeys()
{ {
#ifndef __ANDROID__
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenQuickMenu"), RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenQuickMenu"),
TRANSLATABLE("Hotkeys", "Open Quick Menu"), [this](bool pressed) { TRANSLATABLE("Hotkeys", "Open Quick Menu"), [this](bool pressed) {
if (pressed && m_fullscreen_ui_enabled) if (pressed && m_fullscreen_ui_enabled)
FullscreenUI::OpenQuickMenu(); FullscreenUI::OpenQuickMenu();
}); });
#endif
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("FastForward"), RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("FastForward"),
TRANSLATABLE("Hotkeys", "Fast Forward"), [this](bool pressed) { SetFastForwardEnabled(pressed); }); TRANSLATABLE("Hotkeys", "Fast Forward"), [this](bool pressed) { SetFastForwardEnabled(pressed); });