[GH-ISSUE #30] [Bug]: mouse input still leak from virtual desktop #24

Open
opened 2026-11-01 11:24:03 +00:00 by roman · 0 comments
Owner

Originally created by @krakerz on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Arbitrate3280/LutrisToSunshine/issues/30

after trying https://github.com/Arbitrate3280/LutrisToSunshine/issues/29#issuecomment-5982562759 and ther latest build, it seems the mouse input still leak to the main desktop, audio and video is isolated

do note : i'm using hyprland currently
sunshine : 2026.1006.152353
lutristosunshine is the latest one
in case needed, i'm using xdg-desktop-portal-wlr right now

log :
last-launch.log

with claude assisted, i managed to prevent the leak by adding this on my .lua (incase you're interested)

-- Sunshine's virtual input devices belong to the headless streaming session only;
-- left enabled here, the streamed mouse/keyboard also drive this desktop
for _, name in ipairs({
	"libvirtualhid-mouse",
	"libvirtualhid-mouse-(absolute)",
	"libvirtualhid-keyboard",
	"libvirtualhid-keyboard-1",
	"libvirtualhid-pen-tablet",
	"libvirtualhid-touchscreen",
}) do
	hl.device({ name = name, enabled = false })
end
Originally created by @krakerz on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/Arbitrate3280/LutrisToSunshine/issues/30 after trying https://github.com/Arbitrate3280/LutrisToSunshine/issues/29#issuecomment-5982562759 and ther latest build, it seems the mouse input still leak to the main desktop, audio and video is isolated do note : i'm using hyprland currently sunshine : 2026.1006.152353 lutristosunshine is the latest one in case needed, i'm using `xdg-desktop-portal-wlr` right now log : [last-launch.log](https://github.com/user-attachments/files/33161353/last-launch.log) with claude assisted, i managed to prevent the leak by adding this on my .lua (incase you're interested) ``` -- Sunshine's virtual input devices belong to the headless streaming session only; -- left enabled here, the streamed mouse/keyboard also drive this desktop for _, name in ipairs({ "libvirtualhid-mouse", "libvirtualhid-mouse-(absolute)", "libvirtualhid-keyboard", "libvirtualhid-keyboard-1", "libvirtualhid-pen-tablet", "libvirtualhid-touchscreen", }) do hl.device({ name = name, enabled = false }) end ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Arbitrate3280/LutrisToSunshine#24
No description provided.