//adds an input to the list public void AddInput(string Axis, string message1, string message2, string message3, object Arg, bool hasMultiInput, List <string> buttons) { newInput = InputVariable.CreateInstance(Axis, message1, message2, message3, Arg, inputBuffer, hasMultiInput, buttons); inputs.Add(newInput); }