Participant
March 6, 2016
I've spent a month trying to figure this out.
- 6 replies
- 2413 views
Hi,
No matter what I try, I cannot detect a tap on the gear VR in unity. I've tried the following:
Input.GetMouseButtonDown(0) equals true
Input.GetMouseButtonDown(1)) equals true
Input.touchCount > 0
Input.GetButtonDown("Fire1") with the input mapping set as mouse 0 in the input settings.
OVRInput.Get(OVRInput.Button.One)
None of these work. I've attached my config input so you can see.
I find Oculus have a lack of correct documentation for developers. For example, It says to add the oculus home back button functionality, you should look at "MenuHome.cs". Well I searched for that file and couldn't find it. Then I found the file I should be looking at was "OVRPlatformMenu.cs". So in Utilities for Unity 5, it's not "MenuHome.cs", it's "OVRPlatformMenu.cs"
No matter what I try, I cannot detect a tap on the gear VR in unity. I've tried the following:
Input.GetMouseButtonDown(0) equals true
Input.GetMouseButtonDown(1)) equals true
Input.touchCount > 0
Input.GetButtonDown("Fire1") with the input mapping set as mouse 0 in the input settings.
OVRInput.Get(OVRInput.Button.One)
None of these work. I've attached my config input so you can see.
I find Oculus have a lack of correct documentation for developers. For example, It says to add the oculus home back button functionality, you should look at "MenuHome.cs". Well I searched for that file and couldn't find it. Then I found the file I should be looking at was "OVRPlatformMenu.cs". So in Utilities for Unity 5, it's not "MenuHome.cs", it's "OVRPlatformMenu.cs"
