private void SetupIWear() { // Get an instance of iWearTracker iTracker = iWearTracker.Instance; // We need to initialize it before adding it to the InputMapper class iTracker.Initialize(); // If not stereo, then we need to set the iWear VR920 to mono mode (by default, it's // stereo mode if stereo is available) if (stereoMode) iTracker.EnableStereo = true; // Add this iWearTracker to the InputMapper class for automatic update and disposal InputMapper.Instance.Add6DOFInputDevice(iTracker); // Re-enumerate all of the input devices so that the newly added device can be found InputMapper.Instance.Reenumerate(); }
private void SetupIWear() { // Get an instance of iWearTracker iTracker = iWearTracker.Instance; // We need to initialize it before adding it to the InputMapper class iTracker.Initialize(); iTracker.EnableStereo = true; // Add this iWearTracker to the InputMapper class for automatic update and disposal InputMapper.Instance.Add6DOFInputDevice(iTracker); // Re-enumerate all of the input devices so that the newly added device can be found InputMapper.Instance.Reenumerate(); }