Exemple #1
0
        internal void RegisterKey(BuiltInKeys builtInKey, KeyCode defaultKey)
        {
            var keyName = NormalizeKeyName(builtInKey);

            RegisterKey(keyName, defaultKey);
            _builtinKeys.Add(keyName, defaultKey);
        }
Exemple #2
0
        public bool GetKey(BuiltInKeys builtInKey)
        {
            var keyName = NormalizeKeyName(builtInKey);

            return(GetKey(keyName));
        }
Exemple #3
0
 private string NormalizeKeyName(BuiltInKeys keyName)
 {
     return(NormalizeKeyName(keyName.ToString()));
 }