Hotkeys: Move Toggle Media Capture to General
This commit is contained in:
parent
8ad912c340
commit
ee07e9e0f1
|
@ -223,6 +223,17 @@ DEFINE_HOTKEY("Screenshot", TRANSLATE_NOOP("Hotkeys", "General"), TRANSLATE_NOOP
|
|||
})
|
||||
|
||||
#ifndef __ANDROID__
|
||||
DEFINE_HOTKEY("ToggleMediaCapture", TRANSLATE_NOOP("Hotkeys", "General"),
|
||||
TRANSLATE_NOOP("Hotkeys", "Toggle Media Capture"), [](s32 pressed) {
|
||||
if (!pressed)
|
||||
{
|
||||
if (System::GetMediaCapture())
|
||||
System::StopMediaCapture();
|
||||
else
|
||||
System::StartMediaCapture();
|
||||
}
|
||||
})
|
||||
|
||||
DEFINE_HOTKEY("OpenAchievements", TRANSLATE_NOOP("Hotkeys", "General"),
|
||||
TRANSLATE_NOOP("Hotkeys", "Open Achievement List"), [](s32 pressed) {
|
||||
if (!pressed && CanPause())
|
||||
|
@ -358,17 +369,6 @@ DEFINE_HOTKEY("ResetEmulationSpeed", TRANSLATE_NOOP("Hotkeys", "System"),
|
|||
}
|
||||
})
|
||||
|
||||
DEFINE_HOTKEY("ToggleMediaCapture", TRANSLATE_NOOP("Hotkeys", "System"),
|
||||
TRANSLATE_NOOP("Hotkeys", "Toggle Media Capture"), [](s32 pressed) {
|
||||
if (!pressed)
|
||||
{
|
||||
if (System::GetMediaCapture())
|
||||
System::StopMediaCapture();
|
||||
else
|
||||
System::StartMediaCapture();
|
||||
}
|
||||
})
|
||||
|
||||
DEFINE_HOTKEY("ToggleSoftwareRendering", TRANSLATE_NOOP("Hotkeys", "Graphics"),
|
||||
TRANSLATE_NOOP("Hotkeys", "Toggle Software Rendering"), [](s32 pressed) {
|
||||
if (!pressed && System::IsValid())
|
||||
|
|
Loading…
Reference in New Issue