Hover-UI-Kit icon indicating copy to clipboard operation
Hover-UI-Kit copied to clipboard

Hololens input

Open njss opened this issue 5 years ago • 1 comments

Is there a Hololens input implementation? How hard it would be?

njss avatar Oct 31 '18 14:10 njss

Hi @njss, good question!

Hover UI Kit does not currently have an Input Module specifically for HoloLens, but, you should still be able to get started via the "Follow" Input Module:

This module converts Unity transforms to cursors. [... It] is compatible with any VR/AR SDK that provides position and/or rotation information via Unity transforms. For example, many mobile VR setups (like Gear VR or Google Cardboard VR) control the Unity camera's rotation. Mapping the "Look" cursor to that camera transform provides immediate Hover UI Kit support for those devices, without needing a device-specific input module.

I have not worked directly with the HoloLens yet, so I'm not completely familiar with its hand-input capabilities. Does the HoloLens API provide any positional information about your hands/fingers? If so, you could use the "Follow" input module to map those hand/finger transforms to other Hover UI Kit cursors (like "LeftIndex" or "RightThumb").

Or, to ask in a different way: how do you plan to interact with Hover UI Kit items via the HoloLens? Would you reach out to touch them, or look/gaze at them, or something else?

zachkinstner avatar Nov 01 '18 14:11 zachkinstner