microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Update MixedRealityKeyboard to expose the Windows Runtime's HolographicKeyboard class #10458

Closed AMollis closed 9 months ago

AMollis commented 2 years ago

Describe the problem

In Windows 10.0.20348 a new HolographicKeyboard class was added. This class allows an application to control the pose and size of the system keyboard. It would be useful if the MRTK wrapped this behavior and exposed it methods on the MixedRealityKeyboard Unity Behaviour

Describe the solution you'd like

MixedRealityKeyboard Behaviour should expose a SetPose() and SetMaxSize() method. Then a sample demonstrating how an application can consume these APIs.

The best solution would be for the MRTK to hook into this API so to position the keyboard and a "preview text box" together. And also, if the MRTK positioned the keyboard, it could prevent accidental interactions with UI elements directly behind the keyboard.

Describe alternatives you've considered

MRTK documentation pointing users to the HolographicKeyboard WinRT class.

Additional context

Documentation on the WinRT HolographicKeyboard class: https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.holographic.holographickeyboard?view=winrt-22000

david-c-kline commented 2 years ago

Adding to our MRTK v3 backlog. Thanks for the suggestion

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!