public static FrameSyncInputSetting TriggerInput(string name)
        {
            FrameSyncInputSetting setting = new FrameSyncInputSetting();

            setting._inputType = FrameSyncInputType.Trigger;
            setting._name      = name;
            setting._bitSize   = 1;
            return(setting);
        }
        public static FrameSyncInputSetting CompressedIntInput(string name, int min, int max, int defaultValue)
        {
            if (min >= max)
            {
                SWConsole.Error("");
                return(NullSetting);
            }

            FrameSyncInputSetting setting = new FrameSyncInputSetting();

            setting._inputType       = FrameSyncInputType.CompressedInt;
            setting._name            = name;
            setting._bitSize         = CompressedIntSize(min, max);
            setting._minInt          = min;
            setting._maxInt          = max;
            setting._defaultValueInt = defaultValue;

            return(setting);
        }
        public static FrameSyncInputSetting CompressedFloatInput(string name, Fix64 min, Fix64 max, Fix64 precision, Fix64 defaultValue, Func <Fix64, Fix64> predictionModifier)
        {
            if (min >= max)
            {
                SWConsole.Error("");
                return(NullSetting);
            }

            FrameSyncInputSetting setting = new FrameSyncInputSetting();

            setting._inputType          = FrameSyncInputType.CompressedFloat;
            setting._name               = name;
            setting._bitSize            = CompressedFloatSize(min, max, precision);
            setting._minFloat           = min;
            setting._maxFloat           = max;
            setting._precisionFloat     = precision;
            setting._defaultValueFloat  = defaultValue;
            setting._predictionModifier = predictionModifier;

            return(setting);
        }