예제 #1
0
        /// <summary>
        /// checks whether specified key has been lifted.
        /// </summary>
        /// <param name="key">game key in the game</param>
        /// <returns></returns>
        public bool IsReleaseKey(GameKey key)
        {
            if (input.IsConnectedControlPad &&
                input.IsReleaseControlPad(TranslateToControlPad(key)))
            {
                return(true);
            }

            return(input.IsReleaseKey(TranslateToKeyboard(key)));
        }