mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Fixed lighting decode
This commit is contained in:
@@ -908,9 +908,9 @@ namespace GHelper.Peripherals.Mouse
|
||||
setting.Brightness = packet[6];
|
||||
|
||||
setting.RGBColor = Color.FromArgb(packet[7], packet[8], packet[9]);
|
||||
setting.AnimationDirection = (AnimationDirection)packet[10];
|
||||
setting.RandomColor = packet[11] == 0x01;
|
||||
setting.AnimationSpeed = (AnimationSpeed)packet[12];
|
||||
setting.AnimationDirection = (AnimationDirection)packet[11];
|
||||
setting.RandomColor = packet[12] == 0x01;
|
||||
setting.AnimationSpeed = (AnimationSpeed)packet[13];
|
||||
|
||||
|
||||
return setting;
|
||||
|
||||
Reference in New Issue
Block a user