Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix slingshotting from one gesture to another #81

Merged
merged 4 commits into from
Mar 8, 2024
Merged

Conversation

ksandom
Copy link
Owner

@ksandom ksandom commented Mar 7, 2024

When performing a tilt gesture, it was very easy to accidentally perform another tilt gesture when exiting the first gesture.

This PR fixes that by

  • Recalibrating the neutral position soon after re-entering the neutral position.
  • Disabling gestures for a few milliseconds after re-entering the neutral position.

@ksandom ksandom added the bug Something isn't working label Mar 7, 2024
@ksandom
Copy link
Owner Author

ksandom commented Mar 7, 2024

I'm not completely happy with this solution yet. So am still playing with it to get the results that I want.

@ksandom
Copy link
Owner Author

ksandom commented Mar 8, 2024

It took a while to get this into a state that I'm happy with. But I am happy with it now. Ready to merge.

@ksandom ksandom merged commit e84fd94 into main Mar 8, 2024
@ksandom ksandom deleted the ksandom/fixSlingshot branch March 8, 2024 14:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant