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

Impossible to play games that hold mouse input #2068

Open
izcoser opened this issue Jun 1, 2024 · 3 comments
Open

Impossible to play games that hold mouse input #2068

izcoser opened this issue Jun 1, 2024 · 3 comments

Comments

@izcoser
Copy link

izcoser commented Jun 1, 2024

What happened?

I installed Barrier in my Linux laptop (client) and in my Windows desktop (server).
My Linux laptop has GTA III installed on it. That game fixes the mouse pointer at the center of the screen and when you move the mouse, the game moves the camera angle and pushes the invisible mouse pointer back to the center.

However, camera control completely bugs out and becomes uncontrollable from the server's mouse, making the game unplayable. It still works normally if I use my laptop's mouse. I think this might be some kind of conflict between how games work and Barrier.

Anyway, not expecting this to be fixed because I know it's a rare use case, but just thought I would report this.
Barrier works perfectly otherwise. Thanks.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Github installer and Arch extras repo.

What OSes are you seeing the problem on? (Check all that apply)

Linux, Windows

What OS versions are you using?

Windows 10 and Arch.

Relevant log output

No response

Any other information

No response

@dcheek2
Copy link

dcheek2 commented Jun 16, 2024

I have the same problem, windows 10 server and ubuntu client.

tested with GZDoom... mouse works in menus but as soon as gameplay starts, mouse movement breaks and becomes unplayable

@FF-Ibb-PD
Copy link

FF-Ibb-PD commented Jun 19, 2024

Workaround that works for me:

On the Server go to "Configure Server" => "Hotkeys".
Create a hotkey for "Bind Cursor to screen"

When you start your game toggle that hotkey. Works fine for me with every game till now.

(I'm using Barrier in german, so I translated those. Might be called a little bit different for you)

There might be problems with it atm, see #2039
Re-loading Barrier and open Barrier to the screen helped me with that, if the hotkey is not accepted.

@tueksta
Copy link

tueksta commented Sep 12, 2024

I'm having a similar issue with games that only recall mouse position occasionally. When I run Genshin on my Windows Server and move the focus to the Mac Client, and a Genshin dialogue scene ends, Genshin recalls the mouse to the Windows Server, but the keyboard stays focussed on the Mac Client. My quickfix is to use keyboard navigation (mouse is stuck inside Windows Server Genshin frame and can't move to Mac Client) to reload barrier on Mac Client which will release keyboard binding back to Windows Server.

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

No branches or pull requests

4 participants