mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Merge pull request #10858 from AdmiralCurtiss/mouse-center-hotkey
Add hotkey for centering mouse in render window.
This commit is contained in:
commit
9d15a1c5a1
9 changed files with 108 additions and 32 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