mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user