mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Refactored LedIds
Everything is now based on the same ids for all devices
This commit is contained in:
1 parent
200e471e4d
commit
c5a1825f50
80 files changed
+2923
-3657
No files matched your search
@@ -33,9 +33,12 @@ namespace RGB.NET.Devices.Logitech
|
||||
base.InitializeLayout();
|
||||
|
||||
if (LedMapping.Count == 0)
|
||||
InitializeLed(new LogitechLedId(this, LogitechLedIds.DEVICE), new Rectangle(0, 0, 10, 10));
|
||||
InitializeLed(LedId.Custom1, new Rectangle(0, 0, 10, 10));
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override object CreateLedCustomData(LedId ledId) => LogitechLedId.DEVICE;
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void UpdateLeds(IEnumerable<Led> ledsToUpdate)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user