Calculate lightbar color after interacting with ScpVBus

This commit is contained in:
Travis Nickles 2017-05-29 19:28:21 -07:00
parent ba4bd72755
commit 24689aa701

View File

@ -699,9 +699,6 @@ namespace DS4Windows
cState = MappedState[ind];
}
// Update the GUI/whatever.
DS4LightBar.updateLightBar(device, ind, cState, ExposedState[ind], touchPad[ind]);
if (!useDInputOnly[ind])
{
x360Bus.Parse(cState, processingData[ind].Report, ind);
@ -719,6 +716,9 @@ namespace DS4Windows
}
}
// Update the GUI/whatever.
DS4LightBar.updateLightBar(device, ind, cState, ExposedState[ind], touchPad[ind]);
// Output any synthetic events.
Mapping.Commit(ind);
}