12-15-2014 10:59 AM
12-15-2014 11:28 AM
12-15-2014 12:27 PM
12-15-2014 04:44 PM
12-16-2014 10:23 PM
12-17-2014 02:10 PM
02-15-2015 08:47 PM
"HiroKiro" wrote:
Hi,
How do I access the Touchpad input in Unity for the GearVr. I see a ovrtouchpad.cs
script but I dont see how it is accessed . I just want to get a Tap response in my app. Thank you very for your time.
02-15-2015 10:59 PM
"Hammo" wrote:"HiroKiro" wrote:
Hi,
How do I access the Touchpad input in Unity for the GearVr. I see a ovrtouchpad.cs
script but I dont see how it is accessed . I just want to get a Tap response in my app. Thank you very for your time.
Does anyone have an answer to this query ? I also cannot figure out how to detect any input on the GearVR
if(Input.GetKeyUp(KeyCode.Mouse0))
{
//TODO: Insert code here to respond to releasing finger from touchpad, but you won't know how long that touch was, or if they moved around on the touchpad, etc)
}
OVRTouchpad.Create();
OVRTouchpad.TouchHandler += HandleTouchHandler;
void HandleTouchHandler (object sender, System.EventArgs e)
{
OVRTouchpad.TouchArgs touchArgs = (OVRTouchpad.TouchArgs)e;
if(touchArgs.TouchType == OVRTouchpad.TouchEvent.SingleTap)
{
//TODO: Insert code here to handle a single tap. Note that there are other TouchTypes you can check for like directional swipes, but double tap is not currently implemented I believe.
}
}
04-17-2015 03:46 AM
"HiroKiro" wrote:
Hi.
The demo shows he just presses the Play button in the unity editor and
his bluetooth controller is usable . he moves around in the Scene window.
when I try my controller"e-gp20" nothing happens.
04-19-2015 10:40 PM