Пример #1
0
        /// <summary>
        /// Reports an input release.
        /// </summary>
        /// <param name="input">The fully-qualified input name.</param>
        public void ReportRelease(string input)
        {
            AssertNotReadOnly();

            if (ActiveDownedInputs.Contains(input))
                ActiveDownedInputs.Remove(input);
        }
Пример #2
0
        /// <summary>
        /// Reports an input press.
        /// </summary>
        /// <param name="input">The fully-qualified input name.</param>
        public void ReportPress(string input)
        {
            AssertNotReadOnly();

            if (!ActiveDownedInputs.Contains(input))
                ActiveDownedInputs.Add(input);
        }