Bugfix: Always setting light, woops
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user