public void AddKeyBinding(string bindingName, Keys key, params Modifier[] modifiers) { InputBinding inputBinding = new InputBinding(); inputBinding.SetBinding(key, modifiers); AddKeyBinding(bindingName, inputBinding); }
public void AddKeyBinding(string bindingName, Trigger trigger, params Modifier[] modifiers) { InputBinding inputBinding = new InputBinding(); inputBinding.SetBinding(trigger, modifiers); AddKeyBinding(bindingName, inputBinding); }
public void AddKeyBinding(string bindingName, Buttons button, params Modifier[] modifiers) { InputBinding inputBinding = new InputBinding(); inputBinding.SetBinding(button, modifiers); AddKeyBinding(bindingName, inputBinding); }
public void AddKeyBinding(string bindingName, Thumbstick thumbstick, params Modifier[] modifiers) { InputBinding inputBinding = new InputBinding(); inputBinding.SetBinding(thumbstick, modifiers); AddKeyBinding(bindingName, inputBinding); }