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