Hello,
We are struggling to get input (gamepad) focus to be maintained even when the game window is not in focus.
In our case we have an external editor on one monitor, and the Unity game window on another monitor.
We only get input when the game window is focused (click on icon on taskbar), but this disallows using the mouse/keyboard for editing on the desktop companion app, we cannot do both.
However I am pretty sure that in former Unity versions (don’t remember which) once the gamepad was connected with the window in focus, the input continued being detected despite the window focus changing.
Also it seems we get this behaviour on development builds.
We tried experimenting with BackgroundBehaviour.IgnoreFocus but that creates even stranger behaviours, like we need to click many times before a gamepad is detected, and don’t get input events if the window is out of focus.
We are using now 2023.3.16f1 and InputSystem 1.7.0
Thank you!
@Schubkraft