mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Add stereoscopy hotkeys.
This commit is contained in:
@ -1123,6 +1123,26 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
||||
{
|
||||
State::Load(g_saveSlot);
|
||||
}
|
||||
else if (IsHotkey(event, HK_INCREASE_SEPARATION))
|
||||
{
|
||||
if (++g_Config.iStereoSeparation > 100)
|
||||
g_Config.iStereoSeparation = 100;
|
||||
}
|
||||
else if (IsHotkey(event, HK_DECREASE_SEPARATION))
|
||||
{
|
||||
if (--g_Config.iStereoSeparation < 10)
|
||||
g_Config.iStereoSeparation = 10;
|
||||
}
|
||||
else if (IsHotkey(event, HK_INCREASE_CONVERGENCE))
|
||||
{
|
||||
if (++g_Config.iStereoFocalLength > 200)
|
||||
g_Config.iStereoFocalLength = 200;
|
||||
}
|
||||
else if (IsHotkey(event, HK_DECREASE_CONVERGENCE))
|
||||
{
|
||||
if (--g_Config.iStereoFocalLength < 10)
|
||||
g_Config.iStereoFocalLength = 10;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
|
@ -238,6 +238,11 @@ void HotkeyConfigDialog::CreateHotkeyGUIControls()
|
||||
_("Freelook Zoom Out"),
|
||||
_("Freelook Reset"),
|
||||
|
||||
_("Increase Stereocopy Separation"),
|
||||
_("Decrease Stereocopy Separation"),
|
||||
_("Increase Stereocopy Convergence"),
|
||||
_("Decrease Stereocopy Convergence"),
|
||||
|
||||
_("Load State Slot 1"),
|
||||
_("Load State Slot 2"),
|
||||
_("Load State Slot 3"),
|
||||
|
Reference in New Issue
Block a user