Merge pull request #2386 from mathieui/irhotkeys

Add hotkeys to increase/decrease the IR
This commit is contained in:
skidau
2015-05-12 13:05:53 +10:00
5 changed files with 24 additions and 0 deletions

View File

@ -1353,6 +1353,18 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
if (++g_Config.iEFBScale > SCALE_4X)
g_Config.iEFBScale = SCALE_AUTO;
}
else if (IsHotkey(event, HK_INCREASE_IR))
{
OSDChoice = 1;
if (++g_Config.iEFBScale > SCALE_4X)
g_Config.iEFBScale = SCALE_4X;
}
else if (IsHotkey(event, HK_DECREASE_IR))
{
OSDChoice = 1;
if (--g_Config.iEFBScale < SCALE_1X)
g_Config.iEFBScale = SCALE_1X;
}
else if (IsHotkey(event, HK_TOGGLE_AR))
{
OSDChoice = 2;

View File

@ -203,6 +203,9 @@ const wxString hkText[] =
_("Volume Up"),
_("Volume Toggle Mute"),
_("Increase IR"),
_("Decrease IR"),
_("Toggle IR"),
_("Toggle Aspect Ratio"),
_("Toggle EFB Copies"),