mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01:00
accidently broke free look with mouse input, fixed (fixes issue 2377)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5153 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d3923bfc26
commit
e2316087f7
@ -262,6 +262,9 @@ void OnKeyDown(WPARAM wParam)
|
|||||||
// Should really take a look at the mouse stuff in here - some of it is weird.
|
// Should really take a look at the mouse stuff in here - some of it is weird.
|
||||||
LRESULT CALLBACK WndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
LRESULT CALLBACK WndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
if (g_Config.bFreeLook)
|
||||||
|
FreeLookInput( iMsg, wParam );
|
||||||
|
|
||||||
switch (iMsg)
|
switch (iMsg)
|
||||||
{
|
{
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
@ -300,8 +303,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
if (!g_Config.RenderToMainframe)
|
if (!g_Config.RenderToMainframe)
|
||||||
OnKeyDown(wParam);
|
OnKeyDown(wParam);
|
||||||
|
|
||||||
if (g_Config.bFreeLook)
|
|
||||||
FreeLookInput( iMsg, wParam );
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Post these mouse events to the main window, it's nessesary becase in difference to the
|
/* Post these mouse events to the main window, it's nessesary becase in difference to the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user