summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 3784ae4bc9..d4b7ba65f7 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -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 < 0)
+ g_Config.iStereoSeparation = 0;
+ }
+ else if (IsHotkey(event, HK_INCREASE_CONVERGENCE))
+ {
+ if (++g_Config.iStereoConvergence > 500)
+ g_Config.iStereoConvergence = 500;
+ }
+ else if (IsHotkey(event, HK_DECREASE_CONVERGENCE))
+ {
+ if (--g_Config.iStereoConvergence < 0)
+ g_Config.iStereoConvergence = 0;
+ }
else
{