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
@@ -31,6 +31,8 @@ void LightsDriver_HidBlueDot::SetPadLight(PadLightIndex index, bool value)
void LightsDriver_HidBlueDot::SetLight(unsigned char* buffer, int index, bool value)
{
buffer[2] &= ~(1 << index);
if(value)
buffer[2] |= (1 << index);
};