From 011460fa879081fbf37971864c015bfa728a84a8 Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Sat, 7 Oct 2017 15:04:22 +0200 Subject: [PATCH] Fixed some cp errors in paths and comments --- .../Enum/CoolerMasterLogicalKeyboardLayout.cs | 2 +- .../Keyboard/CoolerMasterKeyboardRGBDeviceInfo.cs | 2 +- .../Keyboard/LogitechKeyboardRGBDeviceInfo.cs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RGB.NET.Devices.CoolerMaster/Enum/CoolerMasterLogicalKeyboardLayout.cs b/RGB.NET.Devices.CoolerMaster/Enum/CoolerMasterLogicalKeyboardLayout.cs index 30c8b5d..c41ac93 100644 --- a/RGB.NET.Devices.CoolerMaster/Enum/CoolerMasterLogicalKeyboardLayout.cs +++ b/RGB.NET.Devices.CoolerMaster/Enum/CoolerMasterLogicalKeyboardLayout.cs @@ -6,7 +6,7 @@ namespace RGB.NET.Devices.CoolerMaster { /// - /// Contains list of available logical layouts for logitech keyboards. + /// Contains list of available logical layouts for cooler master keyboards. /// public enum CoolerMasterLogicalKeyboardLayout { diff --git a/RGB.NET.Devices.CoolerMaster/Keyboard/CoolerMasterKeyboardRGBDeviceInfo.cs b/RGB.NET.Devices.CoolerMaster/Keyboard/CoolerMasterKeyboardRGBDeviceInfo.cs index c85eaad..3d4014d 100644 --- a/RGB.NET.Devices.CoolerMaster/Keyboard/CoolerMasterKeyboardRGBDeviceInfo.cs +++ b/RGB.NET.Devices.CoolerMaster/Keyboard/CoolerMasterKeyboardRGBDeviceInfo.cs @@ -40,7 +40,7 @@ namespace RGB.NET.Devices.CoolerMaster SetLayouts(culture.KeyboardLayoutId); - Image = new Uri(PathHelper.GetAbsolutePath($@"Images\Logitech\Keyboards\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute); + Image = new Uri(PathHelper.GetAbsolutePath($@"Images\CoolerMaster\Keyboards\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute); } private void SetLayouts(int keyboardLayoutId) diff --git a/RGB.NET.Devices.Logitech/Keyboard/LogitechKeyboardRGBDeviceInfo.cs b/RGB.NET.Devices.Logitech/Keyboard/LogitechKeyboardRGBDeviceInfo.cs index 2d312ba..00d3811 100644 --- a/RGB.NET.Devices.Logitech/Keyboard/LogitechKeyboardRGBDeviceInfo.cs +++ b/RGB.NET.Devices.Logitech/Keyboard/LogitechKeyboardRGBDeviceInfo.cs @@ -44,6 +44,10 @@ namespace RGB.NET.Devices.Logitech Image = new Uri(PathHelper.GetAbsolutePath($@"Images\Logitech\Keyboards\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute); } + #endregion + + #region Methods + private void SetLayouts(int keyboardLayoutId) { switch (keyboardLayoutId)