mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 08:48:30 +00:00
This will adapt the devices and reduces the importance of the "special case keyboard"
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
#pragma warning disable 169 // Field 'x' is never used
|
|
#pragma warning disable 414 // Field 'x' is assigned but its value never used
|
|
#pragma warning disable 649 // Field 'x' is never assigned
|
|
|
|
using System.Runtime.InteropServices;
|
|
using CUE.NET.Devices.Generic.Enums;
|
|
|
|
namespace CUE.NET.Native
|
|
{
|
|
// ReSharper disable once InconsistentNaming
|
|
/// <summary>
|
|
/// CUE-SDK: contains led id and position of led rectangle.Most of the keys are rectangular.
|
|
/// In case if key is not rectangular(like Enter in ISO / UK layout) it returns the smallest rectangle that fully contains the key
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal class _CorsairLedPosition
|
|
{
|
|
/// <summary>
|
|
/// CUE-SDK: identifier of led
|
|
/// </summary>
|
|
internal CorsairLedId ledId;
|
|
|
|
/// <summary>
|
|
/// CUE-SDK: values in mm
|
|
/// </summary>
|
|
internal double top;
|
|
|
|
/// <summary>
|
|
/// CUE-SDK: values in mm
|
|
/// </summary>
|
|
internal double left;
|
|
|
|
/// <summary>
|
|
/// CUE-SDK: values in mm
|
|
/// </summary>
|
|
internal double height;
|
|
|
|
/// <summary>
|
|
/// CUE-SDK: values in mm
|
|
/// </summary>
|
|
internal double width;
|
|
}
|
|
}
|