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

wlserver: Fix FPS games using a mouse&keyboard (embedded) #268

Conversation

valentindavid
Copy link

This is a rebase and simplication of @subdiff's merge request #28 that
was reverted.

This fixes #19 "Mouse input in embedded doesn't work when grabbed".

I have tested this commit for some weeks now. I can play FPS games
(like Goat Simulator) with a mouse&keyboard. I can still play games
without grab like Factorio, with mouse, but also with a controller (I
used the Steam Controller to test).

The original branch broke some mouse games with game controllers. See

This is a rebase and simplication of @subdiff's merge request ValveSoftware#28 that
was reverted.

This fixes ValveSoftware#19 "Mouse input in embedded doesn't work when grabbed".

I have tested this commit for some weeks now. I can play FPS games
(like Goat Simulator) with a mouse&keyboard. I can still play games
without grab like Factorio, with mouse, but also with a controller (I
used the Steam Controller to test).

The original branch broke some mouse games with game controllers. See
@valentindavid valentindavid force-pushed the valentindavid/fps-games-with-mouse branch from 8ec65da to c3bb115 Compare September 29, 2021 14:22
@kainz
Copy link

kainz commented Dec 21, 2021

I can confirm that with works for me on X4 Foundations (linux 4.20 release from GOG.com), which uses joystick and mouse+kb.

@misyltoad misyltoad closed this Oct 28, 2022
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 this pull request may close these issues.

Mouse input in embedded doesn't work when grabbed
3 participants