How to handle mouse event for Hololens?

Hi,

I have read that HoloLens supports the use of bluetooth mouse. However, I was not able to make my project to accept mouse input. I have tried to look for tutorial on this. However, I was not able to find a good tutorial on this.

Does someone have a tutorial for this or can someone tell me how to allow mouse input in my application for HoloLens?

Thanks in advance.

Hello,

Can you provide a little more information on what you are trying to do? If you need the button clicks for the mouse you can do that with with Input API. Current design for the HoloLens is that the users gaze is the mouse.

Basically, I am trying to use mouse to control the cursor position instead of using the gaze. However, from looking at the code under HoloToolKit, it seems that all the cursor stuff is using GazeManager to determine the location of the cursor. From my current understanding, there is no existing solution to the problem and I need to implement from scratch.

Is my understanding correct?

It does sound like you will need to build your own system for the mouse cursor to use in your app, I don’t believe there is a system in place in the HoloToolKit for that.