mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
Encapsulation
This commit is contained in:
parent
cabb9825be
commit
2f3bf99acb
@ -36,7 +36,7 @@ namespace RGB.NET.Devices.Wooting.Generic
|
|||||||
|
|
||||||
_WootingSDK.ArrayUpdateKeyboard();
|
_WootingSDK.ArrayUpdateKeyboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,18 +4,18 @@ using RGB.NET.Devices.Wooting.Enum;
|
|||||||
namespace RGB.NET.Devices.Wooting.Native
|
namespace RGB.NET.Devices.Wooting.Native
|
||||||
{
|
{
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct _WootingDeviceInfo
|
internal struct _WootingDeviceInfo
|
||||||
{
|
{
|
||||||
public bool Connected { get; private set; }
|
internal bool Connected { get; private set; }
|
||||||
|
|
||||||
public string Model { get; private set; }
|
internal string Model { get; private set; }
|
||||||
|
|
||||||
public byte MaxRows { get; private set; }
|
internal byte MaxRows { get; private set; }
|
||||||
|
|
||||||
public byte MaxColumns { get; private set; }
|
internal byte MaxColumns { get; private set; }
|
||||||
|
|
||||||
public byte KeycodeLimit { get; private set; }
|
internal byte KeycodeLimit { get; private set; }
|
||||||
|
|
||||||
public WootingDeviceType DeviceType { get; private set; }
|
internal WootingDeviceType DeviceType { get; private set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,13 +6,12 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
|
||||||
using RGB.NET.Core;
|
using RGB.NET.Core;
|
||||||
|
|
||||||
namespace RGB.NET.Devices.Wooting.Native
|
namespace RGB.NET.Devices.Wooting.Native
|
||||||
{
|
{
|
||||||
// ReSharper disable once InconsistentNaming
|
// ReSharper disable once InconsistentNaming
|
||||||
public class _WootingSDK
|
internal static class _WootingSDK
|
||||||
{
|
{
|
||||||
#region Library management
|
#region Library management
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user