void gestureEngine_GestureDetected(object sender, GestureEventArgs e)
 {
     switch (e.GestureName)
     {
         case "RightHandSwipeLeft":
         case "LeftHandSwipeLeft":
             EnqueueGesture(InputGestureType.Rotate, Direction.LEFT, e.Speed);
             break;
         case "LeftHandSwipeRight":
         case "RightHandSwipeRight":
             EnqueueGesture(InputGestureType.Rotate, Direction.RIGHT, e.Speed);
             break;
         case "TwoHandsExpandUpwards":
             EnqueueGesture(InputGestureType.Zoom, Direction.IN, e.Speed);
             break;
         case "TwoHandsContractUpwards":
             EnqueueGesture(InputGestureType.Zoom, Direction.OUT, e.Speed);
             break;
         case "RaiseLeftHand":
             EnqueueGesture(InputGestureType.Pause, Direction.NONE);
             break;
         case "RaiseRightHand":
             EnqueueGesture(InputGestureType.Pause, Direction.NONE);
             break;
         case "TwoHandsSwipeRight":
             EnqueueGesture(InputGestureType.Pan, Direction.RIGHT);
             break;
         case "TwoHandsSwipeLeft":
             EnqueueGesture(InputGestureType.Pan, Direction.LEFT);
             break;
         case "TwoHandsSwipeUp":
             EnqueueGesture(InputGestureType.Pan, Direction.UP);
             break;
         case "TwoHandsSwipeDown":
             EnqueueGesture(InputGestureType.Pan, Direction.DOWN);
             break;
     }
 }
 void tracker_GestureDetected(object sender, GestureEventArgs args)
 {
     if (GestureDetected != null)
     {
         GestureDetected(this, args);
     }
 }