godot/platform/x11
Rémi Verschelde 8a23fa41a8
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
2023-05-12 11:30:33 +02:00
..
export One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
SCsub Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
context_gl_x11.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
context_gl_x11.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
crash_handler_x11.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
crash_handler_x11.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
detect.py Actually set the execinfo flag on non-glibc systems 2022-11-30 15:43:02 +01:00
detect_prime.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
detect_prime.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
godot_x11.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
joypad_linux.cpp Linux: Don't use udev for joypad hotloading when running in a sandbox 2023-05-12 11:30:33 +02:00
joypad_linux.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
key_mapping_x11.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
key_mapping_x11.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
libudev-so_wrap.c Dynamically load libudev.so.1 on Linux if `udev=yes` 2021-02-18 10:31:31 +01:00
libudev-so_wrap.h Dynamically load libudev.so.1 on Linux if `udev=yes` 2021-02-18 10:31:31 +01:00
logo.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00
os_x11.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
os_x11.h One Copyright Update to rule them all 2023-01-10 15:26:54 +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 One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
platform_x11_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_x11.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
power_x11.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
speechd-so_wrap.c Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
speechd-so_wrap.h Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
tts_linux.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
tts_linux.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00

README.md

Linux/X11 platform port

This folder contains the C++ code for the Linux/X11 (and *BSD/X11) platform port.

Artwork license

logo.png is derived from the Linux logo:

Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks.