feat(input): implement libvirtualhid#5368
Conversation
Bundle ReportChanges will increase total bundle size by 1.24kB (0.05%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sunshine-esmAssets Changed:
|
92ddf06 to
d696dca
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #5368 +/- ##
==========================================
+ Coverage 26.68% 27.24% +0.55%
==========================================
Files 111 106 -5
Lines 25397 25064 -333
Branches 11231 11216 -15
==========================================
+ Hits 6777 6828 +51
- Misses 15597 17142 +1545
+ Partials 3023 1094 -1929
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 40 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
b09b74e to
c8d6008
Compare
4a64041 to
ed17e4f
Compare
ed17e4f to
67787f0
Compare
a3e7ed7 to
fe08cf1
Compare
e1bceb2 to
7b27b1d
Compare
7b27b1d to
bfc664c
Compare
Prefix selected virtual gamepad profile names with `Sunshine ` and switch Linux udev matching to the new `Sunshine (libvirtualhid)*` pattern. This removes per-controller rule duplication, keeps device permissions working across profiles, updates troubleshooting docs with the new PS5 device name, and bumps the libvirtualhid submodule to the matching revision.
bf4a745 to
6f6d4c1
Compare
6f6d4c1 to
58a4120
Compare
Broadened Back/Select-to-touchpad-click behavior from manual DS4-only to all PlayStation-style profiles (auto, DS4, and DS5) by reusing configured touchpad-capability checks in both Windows and virtualhid input paths. Updated config/docs/UI locale text to consistently describe PlayStation-style emulation, simplified the input tab headings/visibility logic, and added unit tests for touchpad support detection across profiles.
Update `docs/configuration.md` to move the FreeBSD/Linux/Windows applicability note for gamepad emulation into the main option description, and remove the repeated note text from each individual choice entry.
ddfb648 to
c0b07b1
Compare
c0b07b1 to
19ba419
Compare
|

Description
This PR implements libvirtualhid in Sunshine, replacing inputtino on Linux, vigembus on Windows AMD64, and moves the mouse/keyboard input for macOS as well.
We will still falling back to vigembus on Windows ARM64 or in cases where the user doesn't have libvirtualhid's driver installed.
TODO:
b887f6atod28ec79#5414Known issues:
Screenshot
Issues Fixed or Closed
b887f6atod28ec79#5414Roadmap Issues
Type of Change
Checklist
AI Usage