mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
This delay is no longer needed on Steam Link hardware
This commit is contained in:
parent
cd67f42d8f
commit
40e5ce7fe5
@ -451,9 +451,6 @@ SDL_UDEV_Poll(void)
|
|||||||
|
|
||||||
if (action) {
|
if (action) {
|
||||||
if (SDL_strcmp(action, "add") == 0) {
|
if (SDL_strcmp(action, "add") == 0) {
|
||||||
/* Wait for the device to finish initialization */
|
|
||||||
SDL_Delay(100);
|
|
||||||
|
|
||||||
device_event(SDL_UDEV_DEVICEADDED, dev);
|
device_event(SDL_UDEV_DEVICEADDED, dev);
|
||||||
} else if (SDL_strcmp(action, "remove") == 0) {
|
} else if (SDL_strcmp(action, "remove") == 0) {
|
||||||
device_event(SDL_UDEV_DEVICEREMOVED, dev);
|
device_event(SDL_UDEV_DEVICEREMOVED, dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user