Romain Vimont 1c326c9330 Trigger 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.

It is a bit racy, because a device may be added after the controller
subsystem initialization, but before the call to list the joysticks. In
that case, a single device may in theory be detected as added twice.
This should be harmless though (the second initialization will just fail
without major impact).
2024-09-06 23:08:08 +02:00
..
2024-07-19 17:48:39 +02:00
2024-08-01 18:15:37 +02:00
2024-09-06 23:08:08 +02:00
2024-06-23 19:15:45 +02:00
2024-09-06 23:08:08 +02:00
2024-08-02 22:32:04 +02:00