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

input/evdev: handle flatness deadzone value #14889

Merged
merged 2 commits into from Dec 14, 2023
Merged

Conversation

Megamouse
Copy link
Contributor

  • input/evdev: handle flatness deadzone value:
    This may fix issues with sticky axis on evdev, especially if you are not using any of the usual sticks or triggers whose deadzones can be configured.
    The flatness of an axis seems to be a suggested deadzone. I could not find any mention of it being filtered pre-event, so we most likely are supposed to do this on our own.
    I took the opportunity to refactor some partially redundant axis scaling functions and re-use the same function more often.

  • rsxaudio: fix ensure order and remove some unnecessary scoping.

fixes #14886

@Megamouse Megamouse marked this pull request as draft December 13, 2023 00:01
@Megamouse Megamouse marked this pull request as ready for review December 13, 2023 22:12
This may fix issues with sticky axis on evdev.
Also refactors some redundant axis scaling functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request] It is not possible to properly key bind Guitar Hero Live's guitar on Linux!
1 participant