public ControllerConfig() { mapping = new ushort[24]; deviceType = MappedDeviceType.None; instanceGUID = Guid.Empty.ToString(); productGUID = Guid.Empty.ToString(); }
public void ChangeDeviceType(MappedDeviceType devicetype) { deviceType = devicetype; for (int i = 0; i < mapping.Length; i++) { mapping[i] = 0; } }