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

Reduce sensitivity required by controller trigger #1678

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

svillar
Copy link
Member

@svillar svillar commented Jan 14, 2025

We've been traditionally using a high value for clicking threshold (0.91) in order not to generate false positives specially when using hand tracking. However, that does not make much sense when using physical controllers because they're very precise and false positives are not a real problem there.

We can actually lower it to just 25% of the full pressed position without any accuracy loss, and indeed, the experience is much better. It's also good for a11y.

Fixes #1487

We've been traditionally using a high value for clicking threshold
(0.91) in order not to generate false positives specially when using
hand tracking. However, that does not make much sense when using
physical controllers because they're very precise and false positives
are not a real problem there.

We can actually lower it to just 25% of the full pressed position
without any accuracy loss, and indeed, the experience is much
better. It's also good for a11y.

Fixes #1487
@svillar svillar added the release_candidate PR that should be part of the next release label Jan 14, 2025
Copy link
Member

@javifernandez javifernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but see my comments inline.

app/src/openxr/cpp/OpenXRInputSource.h Outdated Show resolved Hide resolved
@svillar svillar dismissed felipeerias’s stale review January 15, 2025 13:06

Discussed offline

@svillar svillar merged commit 1118c9c into main Jan 15, 2025
22 checks passed
@svillar svillar deleted the pinch_thresholds branch January 15, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_candidate PR that should be part of the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use a half-press gesture to perform a click
3 participants