-
Notifications
You must be signed in to change notification settings - Fork 18
Can't update Key Colors individually unless Brush is applied. #68
Comments
Oh, nice catch - this is obviously not intended. I'll look into it. |
I've looked into this issue and I'm sorry, but I won't change anything to fix this. CueSDK.KeyboardSDK.Brush = (SolidColorBrush)Color.Transparent; is reasonable and doesn't prevent the usage of that feature. |
Can't you just change this line https://github.com/DarthAffe/CUE.NET/blob/master/Devices/Generic/AbstractCueDevice.cs#L332 To something like Not sure what the intended behavior is, I just know that it worked when I tried doing some simple color changes. If not, that's fine, but you might want to update the wiki here https://github.com/DarthAffe/CUE.NET/wiki/Perform-basic-lighting. Thanks for the quick response. |
I thought about this too, but it's only a solution if the colors are set for every call to update. As soon as a update is triggered (which is happening all the time if UpdateMode.Continuous is used) it'll overwrite the colors again. I've already added a line to the example showing how to "enable" individual color changing. |
Updating individual colors is broken because of
c4ac6f0#diff-caac9f90950af58ae566e770d533738aR209
ApplyColorData(_colorDataSave) overwriting the LedMapping's state no matter what.
Tested using Corsair k70 RGB.
Workaround: apply a brush before updating individual key colors.
The text was updated successfully, but these errors were encountered: