Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative mouse input support #2131

Open
akallabeth opened this issue Jan 21, 2022 · 8 comments · May be fixed by #3091
Open

Relative mouse input support #2131

akallabeth opened this issue Jan 21, 2022 · 8 comments · May be fixed by #3091

Comments

@akallabeth
Copy link

akallabeth commented Jan 21, 2022

Hi,

I´ve been discussing a protocol extension with @pnowak from gnome-remote-desktop to allow relative mouse input with RDP.
For FreeRDP FreeRDP/FreeRDP#7565 will implement a dynamic channel that can replace the [MS-RDPBCGR] mouse input and allow this.

If there is need/interest/... feel free to add support too.

@matt335672
Copy link
Member

Thanks for the heads-up!

@pnowack
Copy link

pnowack commented Jan 21, 2022

Probably @jsorg71 and @Nexarian might be interested in this here. Relative mouse input is necessary to be able to play e.g. shooters in a remote desktop session, as they rely on it.

@jsorg71
Copy link
Contributor

jsorg71 commented Jan 22, 2022

I've been thinking about an extension like this too. I search the MS docs and can't find any.
This is a problem with MSRDP servers too, these games don't work right. Hard to believe they have not addresses this.
I looked at this extension, it has one message from client to server.
Can we add another one from server to client to tell the client to capture the mouse. That should be the event that tells the client to start using this channel for mouse input.

@akallabeth
Copy link
Author

@jsorg71 it should be fairly easy to add a rdp channel plugin for windows that injects mouse input, so we could also cover that with this extension.

@akallabeth
Copy link
Author

@jsorg71 as for the capture mouse message, so you want to dynamically switch between absolute and relative input depending on what the server tells?
Currently we do that with a client flag as you need client support to actually get relative input data. The channel is used whenever it is available (e.g. client & server support it and the channel major version matches)
trying to keep it simple, every message comes with a price (long term)

@akallabeth
Copy link
Author

@jsorg71 but better keep the conversation over at FreeRDP/FreeRDP#7565 as this issue here is for xrdp implementing what we come up with ;)

@Nexarian
Copy link
Contributor

I am definitely interested in helping out here! Getting it such that you could play 3D FPS games over XRDP is the dream :)

@TV4Fun
Copy link

TV4Fun commented May 18, 2024

Any update on relative mouse movement support? I'm trying to do Unreal engine development over RDP from my laptop to my Ubuntu server, and this is a major blocker.

@sasha0552 sasha0552 linked a pull request May 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants