godot/platform/x11
Rémi Verschelde 03b2b23ef8
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)
(cherry picked from commit 8a23fa41a8)
2023-08-19 00:36:14 +02:00
..
export One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
SCsub Dynamically load libudev.so.1 on Linux if `udev=yes` 2021-02-18 10:31:31 +01:00
context_gl_x11.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
context_gl_x11.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
crash_handler_x11.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
crash_handler_x11.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
detect.py Linux: Fix GNU ld detection for pck_embed linker script 2022-08-30 11:07:51 +02:00
detect_prime.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
detect_prime.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
godot_x11.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
joypad_linux.cpp Linux: Don't use udev for joypad hotloading when running in a sandbox 2023-08-19 00:36:14 +02:00
joypad_linux.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
key_mapping_x11.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
key_mapping_x11.h One Copyright Update to rule them all 2023-01-10 15:32:59 +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:32:59 +01:00
os_x11.h One Copyright Update to rule them all 2023-01-10 15:32:59 +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:32:59 +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:32:59 +01:00
power_x11.h One Copyright Update to rule them all 2023-01-10 15:32:59 +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.