Ejemplo n.º 1
0
        public KeyBinding GetBinding()
        {
            var newBinding = new LuaKeyBinding(_currentBinding, PathOrLiteral.Value, Keys.Value.ToArray());

            newBinding.ExecuteOnKeyDown = ExecuteOnKeyDown.Value;
            newBinding.ExecuteOnKeyUp   = ExecuteOnKeyUp.Value;
            newBinding.RepeatOnKeyDown  = RepeatOnKeyDown.Value;
            return(newBinding);
        }
Ejemplo n.º 2
0
 public KeyBinding GetBinding()
 {
     var newBinding = new LuaKeyBinding(_currentBinding, PathOrLiteral.Value, Keys.Value.ToArray());
     newBinding.ExecuteOnKeyDown = ExecuteOnKeyDown.Value;
     newBinding.ExecuteOnKeyUp = ExecuteOnKeyUp.Value;
     newBinding.RepeatOnKeyDown = RepeatOnKeyDown.Value;
     return newBinding;
 }