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.

Device Portal - Virtual Input to trigger Hololens


I'd like to use a laptop's keyboard to trigger some behaviors on Hololens using Device Portal / Virtual Input.

I tried using this kind of code in Unity:

if (Input.GetKeyDown("f"))
// DoSomething()

It works fine when I debug the project using Holographic Remoting inside Unity: I just press F, and something happens.

But when I deploy the app on the Hololens, and send the keystroke using Device Portal / Virtual Input, the app doesn't recognize the keystroke: nothing happens.

Am I missing something in Unity?
Maybe I have to activate something in the app capabilities? (Edit/Player/Publishing)


Sign In or Register to comment.