Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
InputCommon: Make the "input gate" not racy. #8456
The "input gate" suppresses input to the game and the hotkey manager when the window is not focused (depending on settings).
In order to receive input in the controller config window a value was quickly set and cleared to override the input gate.
Rather than testing the window focus, background input setting, and override value for each input, a
On the CPU thread the input gate is updated once per SI poll which is well enough granularity.