private void root_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     if (e.Pointer.PointerDeviceType == Windows.Devices.Input.PointerDeviceType.Touch)
     {
         _source.TryRedirectForManipulation(e.GetCurrentPoint(main));
         _direction = -_direction;
     }
     else
     {
         _tracker.TryUpdatePositionWithAdditionalVelocity(new Vector3(0f, 1000f * _direction, 0f));
         _direction = -_direction;
     }
 }
 private void Root_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     if (e.Pointer.PointerDeviceType == Windows.Devices.Input.PointerDeviceType.Mouse)
     {
         _tracker.TryUpdatePositionWithAdditionalVelocity(new Vector3(0.0f, 1000.0f, 0.0f));
     }
     else
     {
         try
         {
             _interactionSource.TryRedirectForManipulation(e.GetCurrentPoint(Root));
         }
         catch (Exception)
         {
             //catch to avoid app crash based on unauthorized input
         }
     }
 }
 private void TheSurface_PointerWheelChanged(Object sender, PointerRoutedEventArgs e)
 {
     tracker.TryUpdatePositionWithAdditionalVelocity(new Vector3(-5, 0, 0));
 }