Commit 40e5ce7fe518c0e5a98735d1165a306642ac0e62

Sam Lantinga 2021-06-04T13:23:54

This delay is no longer needed on Steam Link hardware

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/core/linux/SDL_udev.c b/src/core/linux/SDL_udev.c
index 8eaf2f2..e5a6630 100644
--- a/src/core/linux/SDL_udev.c
+++ b/src/core/linux/SDL_udev.c
@@ -451,9 +451,6 @@ SDL_UDEV_Poll(void)
 
         if (action) {
             if (SDL_strcmp(action, "add") == 0) {
-                /* Wait for the device to finish initialization */
-                SDL_Delay(100);
-
                 device_event(SDL_UDEV_DEVICEADDED, dev);
             } else if (SDL_strcmp(action, "remove") == 0) {
                 device_event(SDL_UDEV_DEVICEREMOVED, dev);