cancel
Showing results for 
Search instead for 
Did you mean: 

Input code of back button for GearVR

Lextender
Honored Guest
Hi. I've been trying to scour the net and the included scripts in the samples but i actually have no idea on how to check if the back button in the GearVR headset specifically has been pressed. (the one on top of the touchpad not the controllers)

Any and all help is appreciated as it will help out a great deal as i would like to include a function on my thesis game that utilizes that button.

Thanks!
1 REPLY 1

MohamedElmazen
Protege
   in unity it's:

     if (Input.GetKeyDown(KeyCode.Escape))
        {
            //Your Code here!!
        }