games/steam-sandbox: Include hidraw devices
This is required for Nintendo Switch controllers (hid_nintendo does not work with third-party ones).
This commit is contained in:
parent
f31fb7dc5d
commit
1fdea403f0
|
@ -68,6 +68,11 @@ let
|
|||
--ro-bind /sys /sys # required for discovery
|
||||
)
|
||||
|
||||
for hidraw in /dev/hidraw*; do
|
||||
bubblewrap_args+=(--dev-bind $hidraw $hidraw)
|
||||
done
|
||||
|
||||
|
||||
unset SDL_VIDEODRIVER QT_QPA_PLATFORM # games generally don’t support wayland
|
||||
export PATH="${pkgs.unstable.mangohud}/bin:$PATH"
|
||||
|
||||
|
|
Loading…
Reference in a new issue