mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-03-24 07:48:46 +00:00
Apply suggestion from @DarthAffe (add all LEDs in a line with default key-size of 19mm)
Co-authored-by: DarthAffe <darthaffe@wyrez.org>
This commit is contained in:
parent
cf1cb4a329
commit
66597cf1b5
@ -34,11 +34,10 @@ public sealed class LogitechPerKeyRGBDevice : LogitechRGBDevice<LogitechRGBDevic
|
|||||||
|
|
||||||
private void InitializeLayout()
|
private void InitializeLayout()
|
||||||
{
|
{
|
||||||
|
int pos = 0;
|
||||||
|
|
||||||
foreach ((LedId ledId, LogitechLedId mapping) in _ledMapping)
|
foreach ((LedId ledId, LogitechLedId mapping) in _ledMapping)
|
||||||
{
|
AddLed(ledId, new Point(pos++ * 19, 0), new Size(19, 19));
|
||||||
// TODO: Impove layout (curently places them in a grid)
|
|
||||||
AddLed(ledId, new Point(0, 0), new Size(10, 10));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user