mirror of https://github.com/libsdl-org/SDL.git
This works around udev event nodes arriving before hidraw nodes and the controller being opened twice - once using the Linux driver and once by the HIDAPI driver. This also fixes a kernel panic on Steam Link hardware due to trying to open the hidraw device node too early. A delay of 10 ms seems to be a good value, tested on Steam Link hardware. |
||
|---|---|---|
| .. | ||
| SDL_sysjoystick.c | ||
| SDL_sysjoystick_c.h | ||