@@ -188,6 +188,18 @@ flatpak permission-set kde-authorized remote-desktop dev.lizardbyte.app.Sunshine
188188After installation, the ` udev` rules need to be reloaded. Our post-install script tries to do this for you
189189automatically, but if it fails, you may need to restart your system.
190190
191+ Sunshine recreates virtual gamepad device nodes for each streaming session. Manual ` chmod` or ` setfacl`
192+ changes therefore disappear when the client reconnects. Confirm that the installed Sunshine rule contains the
193+ parent-property import and ` libvirtualhid/uhid/* ` match, then reload it and reapply it to existing gamepad nodes:
194+
195+ ` ` ` bash
196+ grep -R -E ' IMPORT\{parent\}="HID_\*"|ENV\{HID_PHYS\}=="libvirtualhid/uhid/\*"' \
197+ /etc/udev/rules.d /usr/lib/udev/rules.d /lib/udev/rules.d 2> /dev/null
198+ sudo udevadm control --reload-rules
199+ sudo udevadm trigger --subsystem-match=hidraw
200+ sudo udevadm trigger --subsystem-match=input
201+ ` ` `
202+
191203If the input is still not working, you may need to add your user to the ` input` group.
192204
193205` ` ` bash
@@ -292,11 +304,11 @@ launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
292304# ## No gamepad detected
293305Sunshine uses libvirtualhid for virtual input on Windows. Install the
294306[Virtual HID Driver](https://github.com/LizardByte/libvirtualhid/releases/latest) separately for a driver-backed Raw
295- Input mouse and full virtual gamepad support. ViGEmBus is detected only as a limited fallback for Xbox 360 and
296- DualShock 4 gamepads when libvirtualhid is unavailable. If you use the
307+ Input keyboard and mouse plus full virtual gamepad support. ViGEmBus is detected only as a limited fallback for Xbox
308+ 360 and DualShock 4 gamepads when libvirtualhid is unavailable. If you use the
297309[ViGEmBus fallback](https://github.com/nefarius/ViGEmBus/releases/latest), you must use version 1.17 or newer.
298310
299- Sunshine requires Virtual HID Driver version ` 2026.823.352.3 ` or newer. Earlier releases use incompatible Windows
311+ Sunshine requires Virtual HID Driver version ` 2026.829.2338.54 ` or newer. Earlier releases use incompatible Windows
300312control and broker protocols. The Troubleshooting page reports an older installed package as unsupported and links
301313to the current driver release. Local development driver builds using a ` 0.0.0.* ` version remain supported.
302314
@@ -305,21 +317,31 @@ controller features such as motion, touchpads, LEDs, and adaptive triggers when
305317ViGEmBus project, Virtual HID Driver is actively developed and supported by the LizardByte team.
306318
307319An active Virtual HID Driver machine license is required before Sunshine can create driver-backed libvirtualhid
308- devices, including gamepads and the Raw Input mouse. Follow the warning on the Web UI home page, the startup tray
309- notification, or the ** Virtual HID Driver** tray submenu to open the license section on the Troubleshooting page, where
310- you can activate a key or follow the purchase link.
320+ devices, including gamepads and the Raw Input keyboard and mouse. Follow the warning on the Web UI home page, the
321+ startup tray notification, or the ** Virtual HID Driver** tray submenu to open the license section on the
322+ Troubleshooting page, where you can activate a key or follow the purchase link.
311323
312324After installation, it is recommended to restart your computer.
313325
326+ # ## Games do not detect keyboard input
327+ With a compatible Virtual HID Driver and active license, Sunshine sends normal key transitions through a real HID
328+ keyboard so games using Raw Input can receive them. Unicode text input and keys outside the supported HID keyboard
329+ page continue to use Windows input injection. When the driver-backed keyboard cannot be created because the driver,
330+ broker, or license is unavailable, libvirtualhid falls back to SendInput.
331+
332+ Check the Virtual HID Driver version and license sections on the Web UI Troubleshooting page. Sunshine recreates the
333+ shared keyboard and mouse after a successful license activation, validation, or deactivation, so you do not need to
334+ restart Sunshine merely to switch between the HID and SendInput paths.
335+
314336# ## Games do not detect mouse input
315337With a compatible Virtual HID Driver and active license, Sunshine sends relative mouse movement, buttons, and scrolling
316338through a real HID device so games using Raw Input can receive them. Absolute positioning still uses Windows input
317339injection. When the driver-backed mouse cannot be created, libvirtualhid falls back to SendInput; the Windows cursor may
318340still move even though a game that listens only for Raw Input receives nothing.
319341
320342Check the Virtual HID Driver version and license sections on the Web UI Troubleshooting page even when controller input
321- is disabled. Sunshine recreates the shared mouse after a successful license activation, validation, or deactivation, so
322- you do not need to restart Sunshine merely to switch between the HID and SendInput paths .
343+ is disabled. The same live refresh used by the keyboard path also switches the mouse between HID and SendInput without
344+ requiring a Sunshine restart .
323345
324346# ## Permission denied
325347Since Sunshine runs as a service on Windows, it may not have the same level of access that your regular user account
0 commit comments