From dbdf95e06facffcbadc58b236548769c9df19648 Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Sun, 24 Dec 2017 16:18:49 +0100 Subject: [PATCH] Fixed wrong color encoding for asus-devices --- RGB.NET.Devices.Asus/Generic/AsusRGBDevice.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RGB.NET.Devices.Asus/Generic/AsusRGBDevice.cs b/RGB.NET.Devices.Asus/Generic/AsusRGBDevice.cs index 68885cc..4c4b792 100644 --- a/RGB.NET.Devices.Asus/Generic/AsusRGBDevice.cs +++ b/RGB.NET.Devices.Asus/Generic/AsusRGBDevice.cs @@ -76,8 +76,8 @@ namespace RGB.NET.Devices.Asus { int index = ((int)led.CustomData) * 3; ColorData[index] = led.Color.R; - ColorData[index + 1] = led.Color.G; - ColorData[index + 2] = led.Color.B; + ColorData[index + 1] = led.Color.B; + ColorData[index + 2] = led.Color.G; } ApplyColorData();