Repository navigation
Keep Moonlight mouse and keyboard inside the RDP session - #41
Merged
Merged
Conversation
With the Virtual HID Driver installed and licensed, Sunshine created a HID mouse and keyboard, and Windows sends HID input to the console session: the client moved the host's cursor instead of the session's (#39). Update the bundled sunshine.exe: Sunshine-Web-RTC fix/input-rdp-session (PR #6, merged with the latest origin/master). Outside the console session mouse and keyboard now use SendInput, which stays in Sunshine's own session. Stripped like before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I have a license for the Virtual HID driver so I can test this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #39.
With the Virtual HID Driver installed and licensed, Sunshine creates a driver-backed HID mouse and keyboard. Windows routes HID input to the console session, so Moonlight moved the host's cursor instead of the RDP session's.
Updates the bundled
Sunshine/sunshine.exeto Sunshine-Web-RTCfix/input-rdp-session(OpenstreamCo/Sunshine-Web-RTC#6, merged with the latestorigin/master). Outside the console session, mouse and keyboard now useSendInput, which stays in Sunshine's own session. Gamepads, touch and pen are unchanged.Testing
🤖 Generated with Claude Code