diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-09-14 22:45:28 +0200 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-09-14 22:50:40 +0200 |
commit | 9488f06e4a4bba74db29f5a1d72ff29558cf3e10 (patch) | |
tree | b2a55871c0e0ab3e78fe1d4dc8deab036a9a607c /platform | |
parent | 5636ac526e1d9b211700ec2386c2a01c2419d1f7 (diff) |
X11: Fix gamepads not being added whith udev.
Seems like this property isn't present on some gamepads...
Fixes #10958
Diffstat (limited to 'platform')
-rw-r--r-- | platform/x11/joypad_linux.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/x11/joypad_linux.cpp b/platform/x11/joypad_linux.cpp index 3453297716..428385f7cb 100644 --- a/platform/x11/joypad_linux.cpp +++ b/platform/x11/joypad_linux.cpp @@ -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); |