Пример #1
0
        public bool IsPressed(string button)
        {
            var source = Source.IsPressed(button);

            source ^= CurrentStickies.Contains(button);
            return(source);
        }
Пример #2
0
 public bool IsSticky(string button) => CurrentStickies.Contains(button);