mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Add hotkey for centering mouse in render window.
This commit is contained in:
parent
8f0d702e5f
commit
4d27022d0e
5 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue