Exemple #1
0
 public IEnumerable <Keys> GetKeys(InputAction inputAction)
 {
     return((from e in _mappings.Keys where _mappings[e].Equals(inputAction) select e).ToArray());
 }
Exemple #2
0
 public Keys GetKey(InputAction inputAction)
 {
     return((from e in _mappings.Keys where _mappings[e].Equals(inputAction) select e).SingleOrDefault());
 }