Search Unity

Hover Data for Hololense Keyboard?

Discussion in 'AR/VR (XR) Discussion' started by nadimkabir2, Feb 25, 2020.

  1. nadimkabir2

    nadimkabir2

    Joined:
    Feb 25, 2020
    Posts:
    1
    Hi everyone, so I want to preface that I am super new to unity and Hololense programming, but I am trying to figure out how to implement a specific feature into a Hololense application. I want to be able to access the specific key that is highlighted as the user hovers over it on the hololense standard keyboard, and then print that to the console. So for example, if the user were to move their head straight through the middle of the keyboard (not clicking any buttons, just moving), the console would have 9 lines that print the letters a,s,d,...,j,k,l. I have done some research into possible methods, but the closest thing that I was able to find was the GetKey method, but this isn't optimal since I would need to manually check for every letter, and from what I understand the user needs to be actually pressing the button for this method to be called (please correct me if I am wrong). I appreciate any suggestions. Thank you in advance.