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

Right trigger triggers all the time → Deadzone and resolution settings? #60

Open
krisutofu opened this issue Aug 22, 2024 · 0 comments

Comments

@krisutofu
Copy link

krisutofu commented Aug 22, 2024

In the left and right shoulder trigger, my controller creates spurious inputs which wiggle between two adjacent integer values, most of the time only the right one. In rare cases, the left control stick is also affected.

These spurious inputs cause complications in button remapping when the trigger buttons are triggered all the time without applying force.

I am not sure what is the best approach. The udev input absmin values for the left and right trigger is too low, in my case it needs to be at 35. Not sure, if changing it in my code copy would be a good solution. A command line option might help.
A more consistent solution could be a resolution or deadzone option which ignores button input updates whose value only differs by 1 but I guess, checking the difference against a memorized value could require slightly more effort than just setting the absmin/absmax value via command line option.

Ah, I just found the documentation and it is simple, the absfuzz member determines a tolerance for ignoring this noise. The absflat member is said to be the deadzone value. Instead of absmin, absflat needs to be set for the R and L triggers.

At least one Pull Requests changed this already.

I am just mentioning this here as a potential idea.

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

1 participant