mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
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:
parent
5636ac526e
commit
9488f06e4a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user