Implement Cursor Locking and new input focus checks for it

This commit is contained in:
Filoppi 2021-05-09 13:28:04 +03:00
commit 3c7c2dfaa1
25 changed files with 400 additions and 15 deletions

View file

@ -213,6 +213,10 @@ void HotkeyScheduler::Run()
if (IsHotkey(HK_EXIT))
emit ExitHotkey();
// Unlock Cursor
if (IsHotkey(HK_UNLOCK_CURSOR))
emit UnlockCursor();
auto& settings = Settings::Instance();
// Toggle Chat