public string CheckBindings()
        {
            string ret = "";

            foreach (BindingsFile.Device bd in bf)     // for all devices listed in the binding file
            {
                InputDeviceInterface idi = GetInputDeviceFromBindingDevice(bd);

                if (idi == null)
                {
                    ret += "ERROR: Missing physical device for " + bd.Name + Environment.NewLine;
                }
                else
                {
                    ret += "Match of FD Device " + bd.Name + " to " + idi.ID().Name + Environment.NewLine;
                }
            }
            return(ret);
        }
 public string ToString(int trunc = 1000)
 {
     return(string.Format("Device {0} Event {1} Pressed {2} Value {3}", Device.ID().Name.Truncate(0, trunc), EventName(), Pressed, Value));
 }