mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Merge pull request #8609 from jordan-woyak/separate-hotkey-background-input
DolphinQt: Give hotkeys their own "background input" setting.
This commit is contained in:
@ -1056,11 +1056,10 @@ void DoFrameStep()
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateInputGate()
|
||||
void UpdateInputGate(bool require_focus)
|
||||
{
|
||||
ControlReference::SetInputGate(
|
||||
(SConfig::GetInstance().m_BackgroundInput || Host_RendererHasFocus()) &&
|
||||
!Host_UIBlocksControllerState());
|
||||
ControlReference::SetInputGate((!require_focus || Host_RendererHasFocus()) &&
|
||||
!Host_UIBlocksControllerState());
|
||||
}
|
||||
|
||||
} // namespace Core
|
||||
|
Reference in New Issue
Block a user