godot/platform/linuxbsd
Jari Ronkainen 01c030f9b7 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.
2021-01-27 20:05:31 +02:00
..
export Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
crash_handler_linuxbsd.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
crash_handler_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect_prime_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect_prime_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect.py SCons: Add only selected platform's opts to env 2020-12-16 16:31:19 +01:00
display_server_x11.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
display_server_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godot_linuxbsd.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_linux.cpp Go through all event devices, not just event[0-32] 2021-01-27 20:05:31 +02:00
joypad_linux.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
os_linuxbsd.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
os_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pck_embed.ld Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
pck_embed.legacy.ld Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
platform_linuxbsd_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
SCsub Remove debug_symbols=full in favor of debug_symbols=yes 2020-11-09 15:48:30 +01:00
vulkan_context_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vulkan_context_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00