Encapsulation

This commit is contained in:
SpoinkyNL committed 2020-02-25 22:31:14 +01:00
1 parent cabb9825be
commit 2f3bf99acb
3 files changed
+9 -10

No files matched your search

@@ -4,18 +4,18 @@ using RGB.NET.Devices.Wooting.Enum;
namespace RGB.NET.Devices.Wooting.Native
{
[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.Linq;
using System.Runtime.InteropServices;
using System.Text;
using RGB.NET.Core;
namespace RGB.NET.Devices.Wooting.Native
{
// ReSharper disable once InconsistentNaming
public class _WootingSDK
internal static class _WootingSDK
{
#region Library management