debauchee / barrier

Open-source KVM software
Other
27.55k stars 1.51k forks source link

"Use relative mouse moves" not working / being ignored (absolute DMMV messages are sent) #663

Open freddyli opened 4 years ago

freddyli commented 4 years ago

Operating Systems

Server: Windows 10 1703 Build 15063.296

Client: Windows 10 1903 Build 18362.356

Barrier Version

2.3.2-snapshot-210c2b70

Steps to reproduce bug

1) On server activate Use relative mouse moves

2) Move mouse to client using Barrier and observe client log

msg from server: DMMV
[2020-05-11T17:40:54] DEBUG2: readf(%2i%2i)
[2020-05-11T17:40:54] DEBUG2: readf: read 2 byte integer: 1077 (0x435)
[2020-05-11T17:40:54] DEBUG2: readf: read 2 byte integer: 986 (0x3da)
[2020-05-11T17:40:54] DEBUG2: recv mouse move 1077,986

Actually I am experiencing following problem:

Running the game ELEX on the client, I cannot move in-game mouse (look around, camera) at all -- mouse seems just frozen. It works in the game menus though.

Other info

This issue prevents me from using Barrier with the game ELEX (the only game I play).

Thanks for any tip =)

roothorick commented 4 years ago

Relative moves must be enabled by locking the cursor to that screen. see:

https://github.com/debauchee/barrier/blob/master/src/lib/server/Server.cpp#L1907

Now, if only I could figure out how to lock to a secondary screen. Hotkeys aren't working...

parkerlreed commented 4 years ago

Where is the "Use relative mouse moves"?

I don't see this option anywhere

parkerlreed commented 4 years ago

Aha, configure server, advanced

And the on the client press scroll lock. Holy crap it works.

JasonTable commented 3 years ago

I can confirm that this is also a problem when controlling a mac client with a Linux server.