internal void RegisterKey(BuiltInKeys builtInKey, KeyCode defaultKey) { var keyName = NormalizeKeyName(builtInKey); RegisterKey(keyName, defaultKey); _builtinKeys.Add(keyName, defaultKey); }
public bool GetKey(BuiltInKeys builtInKey) { var keyName = NormalizeKeyName(builtInKey); return(GetKey(keyName)); }
private string NormalizeKeyName(BuiltInKeys keyName) { return(NormalizeKeyName(keyName.ToString())); }