Browse Source

This delay is no longer needed on Steam Link hardware

Sam Lantinga 4 năm trước cách đây
mục cha
commit
40e5ce7fe5
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      src/core/linux/SDL_udev.c

+ 0 - 3
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);