X11: Fix gamepads not being added whith udev.

Seems like this property isn't present on some gamepads...
Fixes #10958
This commit is contained in:
Andreas Haas 2017-09-14 22:45:28 +02:00
parent 5636ac526e
commit 9488f06e4a
No known key found for this signature in database
GPG Key ID: B5FFAE1B65FBD2E1

View File

@ -125,7 +125,6 @@ void JoypadLinux::enumerate_joypads(udev *p_udev) {
enumerate = udev_enumerate_new(p_udev);
udev_enumerate_add_match_subsystem(enumerate, "input");
udev_enumerate_add_match_property(enumerate, "ID_INPUT_JOYPAD", "1");
udev_enumerate_scan_devices(enumerate);
devices = udev_enumerate_get_list_entry(enumerate);