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

feat: implement dead zone for controller #2

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

wdiederi
Copy link

This change adds a dead zone on either side of neutral for each analog stick. In testing, we found that the default neutral position for the left analog stick was not truly at 128, and not having a dead zone did not provide enough tolerance to let turning in place work normally.

Did the same thing for left and right, because a dead zone is just a helpful practice in general.

This change adds a dead zone on either side of neutral for each analog
stick. In testing, we found that the default neutral position for the
left analog stick was not truly at 128, and not having a dead zone did
not provide enough tolerance to let turning in place work normally.

Did the same thing for left and right, because a dead zone is just a
helpful practice in general.
@ehunck ehunck merged commit 4e89f4d into ehunck:master Aug 28, 2024
1 check passed
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.

2 participants