-
Notifications
You must be signed in to change notification settings - Fork 17
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
axis_l and axis_r: signal for centered position is missing #29
Comments
The issues were found in latest release v1.1.2 from Jul 20, 2018. Now I've tried the latest files from unreleased master branch, and the issues were solved. @linusg Please provide an official release with the latest changes. UPDATE: The issue is not solved. |
The issue is in
The callback is only done if the value is above treshold. |
I found an interesting article about implementing deadzones and their different effects: I will try to find a solution by implementing such a deadzone by myself. |
Were you ever successful in finding a solution to this problem? |
Hi everyone. For my application, I need to measure the time a button or stick is pressed or moved.
This works fine for all buttons.
Also the trigger buttons axis range is from 0.000 to 1.000 as expected.
But the axis
axis_l
andaxis_r
values are only set if value is above treshold, but never on centered position.I'm missing the value 0.000 0.000 to detect centered position.
Without I can't distinguish between stick is released or hold on that position.
Also tried with second controller, but it's the same output.
The text was updated successfully, but these errors were encountered: