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

Fix relative mouse motion for most cases. #97

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

danisla
Copy link
Member

@danisla danisla commented Sep 23, 2023

Fixes #28

Changes how relative mouse movement is passed to X11 server using XTest extension.

pynput was not handling this correctly so this should fix it in most cases.

Tested this with gzdoom, which was previously broken and experienced the erratic mouse behavior in issue 28. Fix should be consistent for other cases as well.

Copy link
Member

@ehfd ehfd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it should be better than before, even if we face something unexpected.

@danisla danisla merged commit d3ce0e4 into main Sep 27, 2023
1 check passed
@danisla danisla deleted the danisla/fix-rel-mouse branch September 27, 2023 04:02
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 movement or speed is erratic in games (especially Wine) / Support relative mouse movement without uinput
2 participants