Enable free look for render to main
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4658 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
80601f70c5
commit
4df6dc24f8
|
@ -185,7 +185,7 @@ void FreeLookInput( UINT iMsg, WPARAM wParam )
|
|||
|
||||
switch( iMsg )
|
||||
{
|
||||
|
||||
case WM_USER_KEYDOWN:
|
||||
case WM_KEYDOWN:
|
||||
switch( LOWORD( wParam ))
|
||||
{
|
||||
|
@ -338,8 +338,10 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
else
|
||||
SetCursor(hCursorBlank);
|
||||
}
|
||||
if (wParam == WM_USER_KEYDOWN)
|
||||
if (wParam == WM_USER_KEYDOWN) {
|
||||
OnKeyDown(lParam);
|
||||
FreeLookInput(wParam, lParam);
|
||||
}
|
||||
if (wParam == TOGGLE_FULLSCREEN)
|
||||
ToggleFullscreen(m_hWnd);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue