virtualx-engine/platform/linuxbsd
Rémi Verschelde a10c259c1d
Dynamically load libudev.so.1 on Linux if udev=yes
This makes it possibly to run Linux binaries compiled with udev support on
Linux systems which do not provide udev (typically systemd-less distros).

If udev is missing, we fall back to parsing `/dev/input` like when compiled
without udev support (`udev=no`).

Also adding some verbose debug statements to know which method we're using
when debugging Linux joypad issues.

The libudev so wrappers were generated on Mageia 8 with libudev 246.9 using
https://github.com/hpvb/dynload-wrapper:
```
./generate-wrapper.py --include /usr/include/libudev.h --sys-include '<libudev.h>' \
  --soname libudev.so.1 --init-name libudev --omit-prefix gnu_ \
  --output-header libudev-so_wrap.h --output-implementation libudev-so_wrap.c
```
2021-02-17 13:14:59 +01: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.py Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +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
display_server_x11.cpp Merge pull request #45315 from RandomShaper/modernize_thread 2021-01-31 15:24:56 +01:00
display_server_x11.h Modernize Thread 2021-01-29 12:02:13 +01:00
godot_linuxbsd.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_linux.cpp Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +01:00
joypad_linux.h Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +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
libudev-so_wrap.c Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +01:00
libudev-so_wrap.h Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +01:00
logo.png
os_linuxbsd.cpp Unify URI encoding/decoding and add to C# 2021-01-28 07:45:01 -05:00
os_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pck_embed.ld
pck_embed.legacy.ld
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 Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +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