src/core/linux/SDL_udev.c
changeset 9616 eb2a8d9cfb74
parent 9454 bdc0c1dda0a4
child 9619 b94b6d0bff0f
--- a/src/core/linux/SDL_udev.c	Mon May 25 14:52:41 2015 -0700
+++ b/src/core/linux/SDL_udev.c	Mon May 25 16:22:09 2015 -0700
@@ -469,6 +469,9 @@
         action = _this->udev_device_get_action(dev);
 
         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);