Romain Vimont 51d54fbe61 Add connected gamepads on start
Trigger SDL_CONTROLLERDEVICEADDED for all gamepads already connected
when scrcpy starts. We want to handle both the gamepads initially
connected and the gamepads connected while scrcpy is running.

This is not racy, because this event may not be trigged automatically
until SDL events are "pumped" (SDL_PumpEvents/SDL_WaitEvent).

PR #5270 <https://github.com/Genymobile/scrcpy/pull/5270>
2024-09-13 22:03:02 +02:00
..
2024-09-13 22:03:02 +02:00
2024-08-01 18:15:37 +02:00
2024-09-13 22:03:02 +02:00
2024-09-13 22:03:02 +02:00
2024-08-02 22:32:04 +02:00
2024-09-13 22:03:02 +02:00