From 0ac3e8c19faa23c8445341ffc4f9341c9352eec5 Mon Sep 17 00:00:00 2001 From: i418c Date: Thu, 16 Oct 2014 19:57:11 -0700 Subject: [PATCH] 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. --- Source/Core/DolphinWX/Frame.cpp | 7 +++++-- 1 file 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; }