From 3c889425a922939595f4978ea895edcffcdd14fb Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 11 Aug 2023 11:55:29 -0700 Subject: [PATCH] chore: Add comments to bazzite-steam so there's no confusion what it's doing or why --- system_files/deck/shared/usr/bin/bazzite-steam | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system_files/deck/shared/usr/bin/bazzite-steam b/system_files/deck/shared/usr/bin/bazzite-steam index 5bf2a612..1887ab34 100755 --- a/system_files/deck/shared/usr/bin/bazzite-steam +++ b/system_files/deck/shared/usr/bin/bazzite-steam @@ -1,6 +1,12 @@ #!/usr/bin/env bash if [[ "$XDG_SESSION_TYPE" = "wayland" ]]; then + # https://github.com/Supreeeme/extest + # Extest is a drop in replacement for the X11 XTEST extension. + # It creates a virtual device with the uinput kernel module. + # It's been primarily developed for allowing the desktop functionality + # on the Steam Controller to work while Steam is open on Wayland. + # Also supports Steam Input as a whole. env LD_PRELOAD=/usr/lib/extest/libextest.so /usr/bin/steam "$*" else /usr/bin/steam "$*"