Ejemplo n.º 1
0
        public void AddKeyBinding(string bindingName, Keys key, params Modifier[] modifiers)
        {
            InputBinding inputBinding = new InputBinding();

            inputBinding.SetBinding(key, modifiers);
            AddKeyBinding(bindingName, inputBinding);
        }
Ejemplo n.º 2
0
        public void AddKeyBinding(string bindingName, Trigger trigger, params Modifier[] modifiers)
        {
            InputBinding inputBinding = new InputBinding();

            inputBinding.SetBinding(trigger, modifiers);
            AddKeyBinding(bindingName, inputBinding);
        }
Ejemplo n.º 3
0
        public void AddKeyBinding(string bindingName, Buttons button, params Modifier[] modifiers)
        {
            InputBinding inputBinding = new InputBinding();

            inputBinding.SetBinding(button, modifiers);
            AddKeyBinding(bindingName, inputBinding);
        }
Ejemplo n.º 4
0
        public void AddKeyBinding(string bindingName, Thumbstick thumbstick, params Modifier[] modifiers)
        {
            InputBinding inputBinding = new InputBinding();

            inputBinding.SetBinding(thumbstick, modifiers);
            AddKeyBinding(bindingName, inputBinding);
        }
Ejemplo n.º 5
0
 public void AddKeyBinding(string bindingName, Keys key, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(key, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }
Ejemplo n.º 6
0
 public void AddKeyBinding(string bindingName, Buttons button, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(button, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }
Ejemplo n.º 7
0
 public void AddKeyBinding(string bindingName, Trigger trigger, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(trigger, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }
Ejemplo n.º 8
0
 public void AddKeyBinding(string bindingName, Thumbstick thumbstick, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(thumbstick, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }