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
Bluetooth mouse as second device in Unity application
How can I capture the screen coordinates of a Bluetooth mouse connected to the HoloLens within a Unity app (we want to enable both gazing/air-tab and mouse selection )?
The normal Unity way using Input.mousePosition doesn't work.
0
Best Answer
-
Optionsawonnink ✭
It appears that although the Input.mousePosition is not working, Unity can also use the event below. This does work with HoloLens!
void OnGUI() { Event e = Event.current; Debug.Log(e.mousePosition); }
5
Answers
It appears that although the Input.mousePosition is not working, Unity can also use the event below. This does work with HoloLens!
This worked in Unity 5.x but no longer works in Unity 2017+. Not sure what broke