private OVRInput.Controller ActiveController()
        {
            OVRInput.Controller controller = OVRInput.GetActiveController();

            if (OVRUtils.IsQuestControllerConnected)
            {
                controller = OVRUtils.GetControllerType(mLimbType);
            }

            return(controller);
        }
示例#2
0
 public GearVRController(VRInputDeviceHand hand) : base(OVRUtils.GetControllerType(hand))
 {
     _hand = hand;
 }