How can i use Gaze and Commit with Eye Gaze and a Mouse Click on the Hololens2 within unity?

Cherise Tabbiner 46 Reputation points

I was wondering if it was possible to integrate a bluetooth mouse into my hololens2 application and use it in a gaze and commit setting, where i use my eyes to gaze at the hologram and then the left mouse button to commit this action. Mouse input is not specified here: but i am assuming it would be similar to the hololens clicker?

if so how would one implement this,

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
387 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hernando Ren 2,166 Reputation points

    Hello, Welcome to Microsoft Q&A,

    You can take a look at MRTK, Mouse device is available out of the box as an input provider. And you can assign the input actions of the mouse button via the Controller Input Mapping Profile, under the Input System Profile in the Mixed Reality Toolkit component.
    In the default Mouse Controller configuration, Left Mouse Button is mapped to Select and Right Mouse Button is mapped to Menu.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful