summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authori418c <i418c@users.noreply.github.com>2014-10-16 19:57:11 -0700
committeri418c <i418c@users.noreply.github.com>2014-10-16 19:57:11 -0700
commit0ac3e8c19faa23c8445341ffc4f9341c9352eec5 (patch)
treef293854f002dfb12022ee9de8873fd8fc9888d5a /Source/Core
parent536b8d6695fdcbf868628eb23a6814cadb24165e (diff)
Fix Freelook on Linux and add speed reset.
Should fix issue 7692. Also fixes issue 7147. I have no idea if these changes will affect Mac or Windows users, so please test.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 4fa5458b9d..a034e39de4 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -1150,10 +1150,10 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
static float debugSpeed = 1.0f;
switch (event.GetKeyCode())
{
- case '9':
+ case '(':
debugSpeed /= 2.0f;
break;
- case '0':
+ case ')':
debugSpeed *= 2.0f;
break;
case 'W':
@@ -1177,6 +1177,9 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
case 'R':
VertexShaderManager::ResetView();
break;
+ case 'F':
+ debugSpeed = 1.0f;
+ break;
default:
break;
}