-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Handle additional edge cases for MRTK inspectors #4661
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
Handle additional edge cases for MRTK inspectors #4661
Conversation
@luis-valverde-ms and @provencher FYI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reach out if you have any questions re: feedback. Thanks!
Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/BaseInputHandlerInspector.cs
Show resolved
Hide resolved
Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/PointerClickHandlerInspector.cs
Show resolved
Hide resolved
After syncing with @davidkline-ms , the use of MRTK object references are going to remain in the PR. This is because
|
/azp run mrtk_PR |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to discuss this change @Troy-Ferrell!
Thanks! |
Overview
There are two key dependencies between profiles/inputhandlers: input actions and speech keywords (i.e speechinputhandler). The inspector logic for these impacted components has been updated to be simpler, more consistent, and accurate with useful error messages to the user informing them of the issue (i.e no MRTK in scene, etc etc.).
Rendering of speech commands when rendered as sub-profile view (i.e within input profile) would not work properly for layout. Switched model to be vertical components to preserve useful formatting
Added forced height on scrollview for input actions inspector when rendered as sub-profile
Fixed edge case where inspector logic does not account for an active profile assigned to the scene MRTK instance (an unlikely edge case)
Fixed DefaultMouseProfile to correctly set IsCustomProfile to false
Fixed DefaultHololens2..profiles to correctly set IsCustomProfile to false
Fixed "Back to.." buttons for profile up the hierarchy to actually render
Changes
Harden MRTK inspectors & increase re-usability of code #4467
Harden MRTK inspectors & increase re-usability of code
Can't bind the keyboard input for voice input #4654
Can't bind the keyboard input for voice input
Verification
Removed input actions profile
Removed active profile
Removed MRTK instance
Switched hierarchy with multiple gesture profiles (but only one active in instance)
Deleted MRTK instance & re-added with SpeechInputHandler button when error message shows