Hey there! First off, thanks for colore. It's amazing. A quick question: How do I layer things? Razer said in their best-practice doc that layering stuff is the way to go. How do I do that with colore? Maybe someone has an example for that.
And is there any reason why some effects don't work on keyboards yet? Wave for example?
@btastic Hi! I see mentions of the "layer" method in the documentation, but no examples on how they do it in code. Not sure what they mean exactly. I'll take a look at the example apps and see if there's anything there. API-wise the SDK only has functions to create and set effects, nothing about layering. It might be setting an effect without deleting the old one now "layers" them. In that case we'll have to update Colore's effect logic since it currently automatically deletes the previous effect when setting a new one.
@Sharparam thats what I figured. Any idea how to work around it? I thought about doing it with multiple custom effects. first I do a base color for all keys. then, without setting it, I will apply a new effect to the same custom effect. so I then have two layers which I will send to the keyboard.
But I havnt had time to check that. Any flaws in my logic?
if there turns out to not be any support for this in razer's SDK, i think we'll look into adding some abstraction support in Colore so you can have a high-level description of layers and then Colore will convert it to the resulting custom effect behind the scenes
razer seems to be phasing those out from the SDK, and mean for developers to create their own wave effect if they want one
adding Colore support for those would be a bit more work, since it needs to animate the effects and continuously update them, but it's definitely something that would be nice to have as a "plugin" of sorts to Colore
wave should still work (for at least keyboard, i haven't tested on other devices in a while). but the latest sdk docs from razer says they are deprecated and shouldn't be used, so they will probably remove them at some point in the future
I was just playing around with the Corale and the layering thing. One thing that occured to me is that it seems to be inconsistent when I set a Color with a key, that it does not set the internal _colors value to the given color.