Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable joystick events in background
Capture the gamepads even when the window is not focused. Note: In theory, with this flag set, we could capture gamepad events even without a window (--no-window). In practice, scrcpy still requires a window, because --no-window implies --no-control, and the input manager is owned by the sc_screen instance, which does not exist if there is no window. Supporting this use case would require a lot of refactors. Refs <#5270 (comment)> PR #5270 <#5270> Suggested-by: Luiz Henrique Laurini <luizhenriquelaurini@gmail.com>
- Loading branch information