Пример #1
0
 // Searches bindings for the controller and returns true if this binding is mapped somewhere in this controller
 public bool HasBinding(string button)
 {
     return(_bindings.SelectMany(kvp => kvp.Value).Any(boundButton => boundButton == button));
 }