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

Don't change input simulation gesture state unless momentarily toggled #705

Conversation

keveleigh
Copy link
Contributor

@keveleigh keveleigh commented Mar 25, 2024

Fixes #594

Changes the update logic to only handle button presses, etc if the simulated input is momentarily toggled instead of permanently toggled.

Also fixes this UI overlap:
image

Two_Handed_Simulation.mp4

@keveleigh keveleigh requested a review from david-c-kline March 25, 2024 21:33
@keveleigh keveleigh self-assigned this Mar 25, 2024
@AMollis
Copy link
Contributor

AMollis commented Mar 25, 2024

@keveleigh MRTK Mondays is happening!

@AMollis AMollis added the Package: Input The Project input package is impacted by this issue. label Mar 25, 2024
Copy link
Contributor

@AMollis AMollis left a comment

Choose a reason for hiding this comment

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

I think I missed this with your last change...please update the CHANGELOG.md and the package.json version if needed.

@keveleigh
Copy link
Contributor Author

I think I missed this with you last change...please update the CHANGELOG.md and the package.json version if needed.

Oops, yup!

@keveleigh keveleigh force-pushed the don't-change-gesture-state-unless-momentarily-toggled branch 2 times, most recently from a9e4068 to 7b7f1c3 Compare March 25, 2024 22:43
david-c-kline
david-c-kline previously approved these changes Mar 26, 2024
Copy link
Contributor

@david-c-kline david-c-kline 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.

@keveleigh keveleigh force-pushed the don't-change-gesture-state-unless-momentarily-toggled branch from 7b7f1c3 to 94cd9c4 Compare March 26, 2024 17:11
@keveleigh keveleigh enabled auto-merge (squash) March 26, 2024 19:32
@keveleigh keveleigh force-pushed the don't-change-gesture-state-unless-momentarily-toggled branch from 78b374d to 12e72eb Compare April 24, 2024 17:12
AMollis
AMollis previously approved these changes Apr 25, 2024
@keveleigh keveleigh merged commit b45870e into MixedRealityToolkit:main May 8, 2024
4 checks passed
@keveleigh keveleigh deleted the don't-change-gesture-state-unless-momentarily-toggled branch July 24, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: Input The Project input package is impacted by this issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] keep simulated hands (keys T and Y) a.k.a toggle don't keep the gesture
4 participants