fix(packaging/Linux): ensure that uhid is loaded automatically (#2906)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Gilles Schintgen 2025-09-23 05:30:21 +02:00 committed by GitHub
commit fd96aa0b36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 40 additions and 22 deletions

View file

@ -0,0 +1,2 @@
# Sunshine needs uhid for DS5 emulation
uhid

View file

@ -1,5 +1,9 @@
#!/bin/sh
# Load uhid (DS5 emulation)
echo "Loading uhid kernel module for DS5 emulation."
modprobe uhid
# Check if we're in an rpm-ostree environment
if [ ! -x "$(command -v rpm-ostree)" ]; then
echo "Not in an rpm-ostree environment, proceeding with post install steps."