|
|
@ -84,9 +84,10 @@ void CommonHostInterface::SetDefaultSettings(SettingsInterface& si)
|
|
|
|
si.SetStringValue("Controller1", "ButtonR1", "Keyboard/E");
|
|
|
|
si.SetStringValue("Controller1", "ButtonR1", "Keyboard/E");
|
|
|
|
si.SetStringValue("Controller1", "ButtonR2", "Keyboard/3");
|
|
|
|
si.SetStringValue("Controller1", "ButtonR2", "Keyboard/3");
|
|
|
|
si.SetStringValue("Hotkeys", "FastForward", "Keyboard/Tab");
|
|
|
|
si.SetStringValue("Hotkeys", "FastForward", "Keyboard/Tab");
|
|
|
|
si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape");
|
|
|
|
|
|
|
|
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", "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");
|
|
|
@ -351,6 +352,12 @@ void CommonHostInterface::RegisterGeneralHotkeys()
|
|
|
|
PowerOffSystem();
|
|
|
|
PowerOffSystem();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RegisterHotkey(StaticString("General"), StaticString("Screenshot"), StaticString("Save Screenshot"),
|
|
|
|
|
|
|
|
[this](bool pressed) {
|
|
|
|
|
|
|
|
if (!pressed && m_system)
|
|
|
|
|
|
|
|
SaveScreenshot();
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CommonHostInterface::RegisterGraphicsHotkeys()
|
|
|
|
void CommonHostInterface::RegisterGraphicsHotkeys()
|
|
|
|