Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

How to display the virtual keyboard in a Unity app?

Greetings,

I just want to display the virtual keyboard when I click on an input field, this doesn't sound complicated and yet I have found no simple documentation, only this which looks way too complicated for something like this. There isn't anything with the holotoolkit? Also I don't know what the script KeyboardManager is for.
By the way this is for a 3D app.

Any help would be appreciated.

Best Answer

Answers

  • For some reason I don't have it in my Holotoolkit folder, maybe it's a rather new prefab. I'll download the most recent version then, thank you very much.

  • @Adurnat it's in the v1.2017.1.0 version of the HoloToolkit.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • Hello. I have additional questions to the Keyboard.prefab: Is there a way to use this keayboard when application is build in XAML (not D3D). An issue is that in such case, calling Keyboard.Instance.PresentKeyboard() also opens "native" XAML window with input field and system keyboard. Is there a way to disable it? (I need to build an app in XAML because in want to open my xaml page from 3d app, but I would like to use 3D keyboard in 3D app).
    Additionally - when I use this 3D keyboard for password input an issue is that input field which is above the keyborad is still plain input (password is visible not replaced by "stars").
    Thank you for help.

  • I'm using the keyboard prefab with KeyboardInputField UI elements and when I select one of the KeyboardInputFields in a build I'm getting both the keyboard prefab and a system keyboard poping up. An earlier build I made using both of these was not displaying the system virtual keyboard, but I don't know what I could have changed to cause this. I am using unity 2017.2.0p2-MRTP5 and MixedRealityToolkit for Unity 2017.2.1f1. (which is what was suggested by the Microsoft representative I talked to)

  • @Lucas_Luminous4D Known issue: https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1370

    I believe it only happens in MR and not Hololens. There are some work arounds listed in the comments of that issue.

    Taqtile

Sign In or Register to comment.