1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 01:58:30 +00:00

Fixed some cp errors in paths and comments

This commit is contained in:
Darth Affe 2017-10-07 15:04:22 +02:00
parent dce1142bac
commit 011460fa87
3 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
namespace RGB.NET.Devices.CoolerMaster namespace RGB.NET.Devices.CoolerMaster
{ {
/// <summary> /// <summary>
/// Contains list of available logical layouts for logitech keyboards. /// Contains list of available logical layouts for cooler master keyboards.
/// </summary> /// </summary>
public enum CoolerMasterLogicalKeyboardLayout public enum CoolerMasterLogicalKeyboardLayout
{ {

View File

@ -40,7 +40,7 @@ namespace RGB.NET.Devices.CoolerMaster
SetLayouts(culture.KeyboardLayoutId); 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) private void SetLayouts(int keyboardLayoutId)

View File

@ -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); Image = new Uri(PathHelper.GetAbsolutePath($@"Images\Logitech\Keyboards\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute);
} }
#endregion
#region Methods
private void SetLayouts(int keyboardLayoutId) private void SetLayouts(int keyboardLayoutId)
{ {
switch (keyboardLayoutId) switch (keyboardLayoutId)