예제 #1
0
 public void AddKeyBinding(string bindingName, Keys key, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(key, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }
예제 #2
0
 public void AddKeyBinding(string bindingName, Trigger trigger, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(trigger, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }
예제 #3
0
 public void AddKeyBinding(string bindingName, Buttons button, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(button, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }
예제 #4
0
 public void AddKeyBinding(string bindingName, Thumbstick thumbstick, params Modifier[] modifiers)
 {
     InputBinding inputBinding = new InputBinding();
     inputBinding.SetBinding(thumbstick, modifiers);
     AddKeyBinding(bindingName, inputBinding);
 }