godot/platform/x11
Jari Ronkainen 299769a99a
Go through all event devices, not just event[0-32]
There are no guarantees that joypads are in event0-event32
range.  Some devices, such as laptops with detachable keyboards
and wacom can reserve events all the way up to 32.

Some udev rules with e.g. custom controller firmwares may
load the device as /dev/input/eventX, where X is greater than
32.

This patch uses POSIX dirent to enumerate the event devices, so
entries outside 0-32 range are not skipped.

(cherry picked from commit 01c030f9b7)
2021-02-02 13:02:45 +01:00
..
export Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect.py SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
detect_prime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect_prime.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
joypad_linux.cpp Go through all event devices, not just event[0-32] 2021-02-02 13:02:45 +01:00
joypad_linux.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
os_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pck_embed.ld Fix error exporting to X11 with embedded PCK 2020-01-16 17:47:37 +01:00
pck_embed.legacy.ld Fix error exporting to X11 with embedded PCK 2020-01-16 17:47:37 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
platform_x11_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Remove debug_symbols=full in favor of debug_symbols=yes 2020-11-11 15:12:01 +01:00