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.
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.
Options
Is it possible to write Hololens aware html?
To be more exact: Is it possible to map gestures to html elements / javascript events?
0
Best Answer
-
Optionsjames_ashley ✭✭✭✭
Not natively, but there are ways to rig it through sockets or a custom browser. This came up alot with the Kinect, also. You might want to try Vangos Pterneas's solution and just (I say just but of course it might take a while) replace the Kinect server with a server that receives HoloLens gestures instead.
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.com5
Answers
Can you be a bit more specific? Gestures have native events that are triggered in the app. You can subscribe to those and then act how you wish. AT that point you can either call http services or do some action in your ui. If you look at the edge browser, when you air tap a button, the app is running a onclick event, just like a normal browser does.
http://www.redsprocketstudio.com/
Developer | Check out my new project blog
Not natively, but there are ways to rig it through sockets or a custom browser. This came up alot with the Kinect, also. You might want to try Vangos Pterneas's solution and just (I say just but of course it might take a while) replace the Kinect server with a server that receives HoloLens gestures instead.
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
Thank you for your answers. I had the hope that Edge would support some "gesture event", in the way device orientation events are now supported by the w3c standard
http://w3c.github.io/deviceorientation/spec-source-orientation.html
I guess it's too early for that, though!