private void InitializeKinectRegion()
        {
            // KinectRegion is an invisible control, so no use tabbing to it.
            this.IsTabStop = false;

            this.kinectAdapter = new KinectAdapter(this);
            SetKinectRegion(this, this);
        }
        private void InitializeKinectRegion()
        {
            // KinectRegion is an invisible control, so no use tabbing to it.
            this.IsTabStop = false;

            // TODO: Remove this code
            // Gesture recognition initialization
            //this.leftHandSwipeGestureRecogniser = new SwipeGestureDetector();
            this.rightHandSwipeGestureRecogniser = new SwipeGestureDetector();
            //this.leftHandSwipeGestureRecogniser.OnGestureDetected += SwipeGestureDetected;
            this.rightHandSwipeGestureRecogniser.OnGestureDetected += SwipeGestureDetected;

            this.kinectAdapter = new KinectAdapter(this);
            SetKinectRegion(this, this);
        }
Example #3
0
        private void InitializeKinectRegion()
        {
            // KinectRegion is an invisible control, so no use tabbing to it.
            this.IsTabStop = false;

            this.kinectAdapter = new KinectAdapter(this);
            SetKinectRegion(this, this);
        }