Added Helper to create unique device names for all devices

This commit is contained in:
DarthAffe committed 2021-03-26 21:49:10 +01:00
1 parent 36365e9de8
commit 9907dd21ec
20 files changed
+75 -74

No files matched your search

@@ -26,7 +26,7 @@ namespace RGB.NET.Devices.SteelSeries
public object? LayoutMetadata { get; set; }
public SteelSeriesDeviceType SteelSeriesDeviceType { get; }
#endregion
#region Constructors
@@ -45,7 +45,7 @@ namespace RGB.NET.Devices.SteelSeries
this.Model = model;
this.SteelSeriesDeviceType = steelSeriesDeviceType;
DeviceName = $"{Manufacturer} {Model}";
DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model);
}
#endregion