Added wooting layout detection

This commit is contained in:
Diogo Trindade committed 2021-09-22 17:59:48 +01:00
1 parent 5fc2e34f28
commit 4074b015ef
6 files changed
+29 -251

No files matched your search

@@ -33,6 +33,8 @@ namespace RGB.NET.Devices.Wooting.Generic
/// </summary>
public WootingDeviceType WootingDeviceType { get; }
public WootingLayoutType WootingLayoutType { get; }
#endregion
#region Constructors
@@ -46,6 +48,7 @@ namespace RGB.NET.Devices.Wooting.Generic
{
this.DeviceType = deviceType;
this.WootingDeviceType = deviceInfo.DeviceType;
this.WootingLayoutType = deviceInfo.LayoutType;
Model = deviceInfo.Model;
DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model);