DolphinQt: use hotkeys for field of view to modify freelook camera
This commit is contained in:
parent
7aa153d57e
commit
dc4b938526
|
@ -563,6 +563,18 @@ void HotkeyScheduler::Run()
|
|||
if (IsHotkey(HK_FREELOOK_ZOOM_OUT, true))
|
||||
g_freelook_camera.Zoom(-fl_speed);
|
||||
|
||||
if (IsHotkey(HK_FREELOOK_INCREASE_FOV_X, true))
|
||||
g_freelook_camera.IncreaseFovX(0.1f);
|
||||
|
||||
if (IsHotkey(HK_FREELOOK_DECREASE_FOV_X, true))
|
||||
g_freelook_camera.IncreaseFovX(-0.1f);
|
||||
|
||||
if (IsHotkey(HK_FREELOOK_INCREASE_FOV_Y, true))
|
||||
g_freelook_camera.IncreaseFovY(0.1f);
|
||||
|
||||
if (IsHotkey(HK_FREELOOK_DECREASE_FOV_Y, true))
|
||||
g_freelook_camera.IncreaseFovY(-0.1f);
|
||||
|
||||
if (IsHotkey(HK_FREELOOK_RESET, true))
|
||||
g_freelook_camera.Reset();
|
||||
|
||||
|
|
Loading…
Reference in New Issue