model.getInput(input, line)
Return input data for given input and line number
@status current Introduced in 2.0.0, curveType/curveValue/carryTrim added in 2.3, inputName added 2.3.10, flighmode reworked in 2.3.11
Parameters
input
(unsigned number) input number (use 0 for Input1)line
(unsigned number) input line (use 0 for first line)
Return value
nil
requested input or line does not existtable
input data:name
(string) input line nameinputName
(string) input input namesource
(number) input source indexweight
(number) input weightoffset
(number) input offsetswitch
(number) input switch indexcurveType
(number) curve type (function, expo, custom curve)curveValue
(number) curve indexcarryTrim
(boolean) input trims applied'flightModes' (number) bit-mask of active flight modes
Last updated