Merge pull request #10858 from AdmiralCurtiss/mouse-center-hotkey

Add hotkey for centering mouse in render window.
This commit is contained in:
Admiral H. Curtiss
2022-07-26 12:52:33 +02:00
committed by GitHub
9 changed files with 108 additions and 32 deletions

View File

@ -233,6 +233,9 @@ void HotkeyScheduler::Run()
if (IsHotkey(HK_UNLOCK_CURSOR))
emit UnlockCursor();
if (IsHotkey(HK_CENTER_MOUSE, true))
g_controller_interface.SetMouseCenteringRequested(true);
auto& settings = Settings::Instance();
// Toggle Chat