summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-09-14 22:45:28 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-09-14 22:50:40 +0200
commit9488f06e4a4bba74db29f5a1d72ff29558cf3e10 (patch)
treeb2a55871c0e0ab3e78fe1d4dc8deab036a9a607c /platform
parent5636ac526e1d9b211700ec2386c2a01c2419d1f7 (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.cpp1
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);