/// <summary> /// Constructor /// </summary> public SimpleEchoFunctionsDriver() : base() { // Populate list of functions RegisterFunction(new Function("Echo Fader", "Prints the fader value to the console", ControlType.Fader, new ParameterDescriptor() { // Function parameters { "Input Number", ParameterDefinition.CreateInt("The magic number that identifies this fader", 1, 1, 10) } }), FuncEchoFader); // Populate list of functions RegisterFunction(new Function("Echo Button", "Prints the button events to the console", ControlType.Button, new ParameterDescriptor() { // Function parameters { "Input Number", ParameterDefinition.CreateInt("The magic number that identifies this fader", 1, 1, 10) } }), FuncEchoButton); }