- Home /
Can you use the physical hololens buttons as input to a Unity program?
Hello, I've seen a few different guides on how to add UI buttons, use gestures, or use a joystick device with the Hololens, but I could not find any information about using four buttons on the headset itself in Unity.
There are two by the left ear (which seem to change brightness) and two by the right ear (which seem to change volume). Is it possible to put them to an alternative use, and use them as input to a unity program?
I.e. imagine an AR game where you click one of the buttons on the headset to shoot a laser directly ahead, like Cyclops from X-men :D.
Answer by TareqProjects · Oct 18, 2017 at 03:03 PM
I don't think you can, I wasn't able to. Did you get a clicker with you Hololens? You could use that, the functionality mimics the hand gesture so you can do the click and click and hold. I don't think you can do the bloom effect with it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612140911im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
HoloLens2 Application throws Exception "Could not create a device for ''Hand - Right (XRInputV1)" 0 Answers
How to get different Animations when different button combos are pressed 2 Answers
How can I change animation with colliders? Using AR and Vuforia. 0 Answers
Detect physical keyboard vs touch input 0 Answers
PlayerInput - SendMessages not working after changing the scene 1 Answer