Paint.CanvasPlaybackApp.HandleInput C# (CSharp) Method

HandleInput() private method

Handles any user input. Collect all gestures made since the last 'update' - check if these need to be handled
private HandleInput ( ) : void
return void
        private void HandleInput()
        {
            while (TouchPanel.IsGestureAvailable)
            {
                // read the next gesture from the queue
                GestureSample gesture = TouchPanel.ReadGesture();

                TouchType touchType = this.ConvertGestureType(gesture.GestureType);

                TouchPoint touchPoint = new TouchPoint(gesture.Position, touchType);

                this.CheckToolboxCollision(touchPoint);
            }
        }