Android: Add 'Open Pause Menu' hotkey
This commit is contained in:
parent
60232c390a
commit
37f9f118c4
5 changed files with 35 additions and 4 deletions
|
|
@ -77,10 +77,7 @@ bool CommonHostInterface::Initialize()
|
|||
|
||||
m_save_state_selector_ui = std::make_unique<FrontendCommon::SaveStateSelectorUI>(this);
|
||||
|
||||
RegisterGeneralHotkeys();
|
||||
RegisterGraphicsHotkeys();
|
||||
RegisterSaveStateHotkeys();
|
||||
RegisterAudioHotkeys();
|
||||
RegisterHotkeys();
|
||||
|
||||
UpdateControllerInterface();
|
||||
return true;
|
||||
|
|
@ -1462,6 +1459,14 @@ bool CommonHostInterface::AddRumbleToInputMap(const std::string& binding, u32 co
|
|||
return false;
|
||||
}
|
||||
|
||||
void CommonHostInterface::RegisterHotkeys()
|
||||
{
|
||||
RegisterGeneralHotkeys();
|
||||
RegisterGraphicsHotkeys();
|
||||
RegisterSaveStateHotkeys();
|
||||
RegisterAudioHotkeys();
|
||||
}
|
||||
|
||||
void CommonHostInterface::RegisterGeneralHotkeys()
|
||||
{
|
||||
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("FastForward"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue