From 5f29e98955ea34180d6e08b26ceaf165c3eb08ec Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Sun, 23 Jul 2023 18:30:26 +0200 Subject: [PATCH] Fixed lighting decode --- app/Peripherals/Mouse/AsusMouse.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Peripherals/Mouse/AsusMouse.cs b/app/Peripherals/Mouse/AsusMouse.cs index 3380f155..2f549a4a 100644 --- a/app/Peripherals/Mouse/AsusMouse.cs +++ b/app/Peripherals/Mouse/AsusMouse.cs @@ -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;