Refactored the positionen to be stored in the LED

This commit is contained in:
DarthAffe committed 2016-09-10 10:40:44 +02:00
1 parent 4b5263221a
commit bfe51add66
8 files changed
+56 -45

No files matched your search

+3 -2
View File
@@ -5,6 +5,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using System.Linq;
using CUE.NET.Devices.Generic;
using CUE.NET.Devices.Headset.Enums;
@@ -67,8 +68,8 @@ namespace CUE.NET.Devices.Headset
private void InitializeLeds()
{
GetLed((int)CorsairHeadsetLedId.LeftLogo);
GetLed((int)CorsairHeadsetLedId.RightLogo);
InitializeLed((int)CorsairHeadsetLedId.LeftLogo, new RectangleF(0, 0, 1, 1));
InitializeLed((int)CorsairHeadsetLedId.RightLogo, new RectangleF(1, 0, 1, 1));
}
protected override void DeviceUpdate()