Esempio n. 1
0
        /// <summary>
        /// Execute specific event depending of the gesture that user made
        /// </summary>
        /// <param name="keyboardListener">Keyboard's listener to perform the events</param>
        public override void ExecuteGesture(KeyboardListener keyboardListener)
        {
            if (this.SelectedHand.PalmVelocity.y > 0)
            {
                keyboardListener.DoVolumeUp();
            }
            else
            {
                keyboardListener.DoVolumeDown();
            }

            _currentProgression = 0;
        }