games/steam-sandbox: Make controllers work

The full sysfs is required for steam to discover controllers. Despite
some individual games detecting them, for full controller support
(especially in wine/proton), steam has to detect them.
pull/64/head
Simon Bruder 2022-05-01 10:14:04 +02:00
parent 0313c45b9e
commit 36b564d978
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 2 deletions

View File

@ -38,8 +38,6 @@ let
--ro-bind /tmp/.X11-unix /tmp/.X11-unix
--ro-bind "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY"
--dev-bind /dev/dri /dev/dri
--ro-bind /sys/dev/char /sys/dev/char
--ro-bind-try /sys/devices/pci0000:00 /sys/devices/pci0000:00 # FIXME: hardcoded path for sayuri
--ro-bind /run/opengl-driver /run/opengl-driver
--ro-bind-try /run/opengl-driver-32 /run/opengl-driver-32
@ -66,6 +64,7 @@ let
# input
--dev-bind /dev/input /dev/input
--dev-bind-try /dev/uinput /dev/uinput
--ro-bind /sys /sys # required for discovery
)
unset SDL_VIDEODRIVER QT_QPA_PLATFORM # games generally dont support wayland