mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-16 03:46:54 -04:00
Swap red and blue channels in RGB Fusion 2.0 packet after it was found that they were reversed
This commit is contained in:
@@ -77,9 +77,9 @@ void RGBFusion2Controller::SetLEDColor(unsigned int led, unsigned char red, unsi
|
||||
usb_buf[0x01] = (0x20 | led);
|
||||
usb_buf[0x02] = (0x01 << led );
|
||||
|
||||
usb_buf[0x0E] = red;
|
||||
usb_buf[0x0E] = blue;
|
||||
usb_buf[0x0F] = green;
|
||||
usb_buf[0x10] = blue;
|
||||
usb_buf[0x10] = red;
|
||||
|
||||
hid_send_feature_report(dev, usb_buf, 64);
|
||||
|
||||
@@ -118,4 +118,4 @@ void RGBFusion2Controller::SetMode(unsigned char mode)
|
||||
void RGBFusion2Controller::dump()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user