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