Colore icon indicating copy to clipboard operation
Colore copied to clipboard

Setting color isn't working

Open Symbai opened this issue 4 years ago • 1 comments

I've got Razer Cynosa V2 keyboard which has individual key RGB. I've got the SDK installed and Synapse running. In Synapse I've set a custom effect to fire for example.

Now I call these two lines:

var chroma = await ColoreProvider.CreateNativeAsync();
await chroma.SetAllAsync(Colore.Data.Color.Green);

What happens is that the fire effect I've set in Synapse freezes (color remains just where it was), but the color does not change to green. When I close the app, the fire effect resumes. In Synapse Connect I can see my app being recognized by the SDK.

When I call chroma.Keyboard.IsSet(Key.A) right after SetAllAsync it returns false.

Any idea whats wrong?

//edit: Rest API works. Its only the native that has no effect. But Rest API sucks because of heartbeat. As soon as the application hangs for a few seconds the connection is closed and the effect goes away. Further calls results in AggregateException being thrown.

//edit: same happens with a Ornata keyboard on a different machine. Current RGB freezes but does not change using native SDK.

Symbai avatar May 21 '21 12:05 Symbai

Ok, the solution is mentioned here #273 please, please update the documentation. I spent 5 hours on debugging, googling etc. and all it needs is a delay 😂🤦‍♂️🤷‍♂️

Symbai avatar May 21 '21 17:05 Symbai