Fixed some basic stuff and added images to devices

This commit is contained in:
DarthAffe committed 2017-01-29 20:07:11 +01:00
1 parent 2678d3f56d
commit 2d42bd85fc
12 files changed
+63 -25

No files matched your search

@@ -1,4 +1,5 @@
using RGB.NET.Devices.Corsair.Native;
using System;
using RGB.NET.Devices.Corsair.Native;
namespace RGB.NET.Devices.Corsair
{
@@ -27,6 +28,8 @@ namespace RGB.NET.Devices.Corsair
: base(deviceIndex, Core.RGBDeviceType.Mouse, nativeInfo)
{
this.PhysicalLayout = (CorsairPhysicalMouseLayout)nativeInfo.physicalLayout;
Image = new Uri($"pack://application:,,,/RGB.NET.Devices.Corsair;component/Images/Mice/{Model.Replace(" ", string.Empty).ToUpper()}.png", UriKind.Absolute);
}
#endregion