Bugfix: Always setting light, woops

This commit is contained in:
dando92
2025-03-27 22:36:29 -07:00
committed by teejusb
parent 01b2464df8
commit 762041be69
+3 -1
View File
@@ -31,7 +31,9 @@ void LightsDriver_HidBlueDot::SetPadLight(PadLightIndex index, bool value)
void LightsDriver_HidBlueDot::SetLight(unsigned char* buffer, int index, bool value)
{
buffer[2] &= ~(1 << index);
buffer[2] |= (1 << index);
if(value)
buffer[2] |= (1 << index);
};
void LightsDriver_HidBlueDot::Set(const LightsState *ls)