Separated keyboard, mouse and headset

This commit is contained in:
DarthAffe committed 2015-09-19 11:24:44 +02:00
1 parent a4a81cf3c3
commit 575804c8bf
31 files changed
+528 -405

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
namespace CUE.NET.Wrapper.Mouse
{
//TODO DarthAffe 18.09.2015: Implement
public class CorsairMouse : AbstractCueDevice
{
#region Properties & Fields
public CorsairMouseDeviceInfo MouseDeviceInfo { get; }
#endregion
#region Constructors
internal CorsairMouse(CorsairMouseDeviceInfo info)
: base(info)
{
this.MouseDeviceInfo = info;
}
#endregion
#region Methods
#endregion
}
}
+34
View File
@@ -0,0 +1,34 @@
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
using CUE.NET.Enums.Mouse;
using CUE.NET.Native;
namespace CUE.NET.Wrapper.Mouse
{
public class CorsairMouseDeviceInfo : GenericDeviceInfo
{
#region Properties & Fields
/// <summary>
/// Physical layout of the mouse.
/// </summary>
public CorsairPhysicalMouseLayout PhysicalLayout { get; private set; }
#endregion
#region Constructors
/// <summary>
/// Internal constructor of managed CorsairDeviceInfo.
/// </summary>
/// <param name="nativeInfo">The native CorsairDeviceInfo-struct</param>
internal CorsairMouseDeviceInfo(_CorsairDeviceInfo nativeInfo)
: base(nativeInfo)
{
this.PhysicalLayout = (CorsairPhysicalMouseLayout)nativeInfo.physicalLayout;
}
#endregion
}
}