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.
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 😂🤦♂️🤷♂️
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:
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 afterSetAllAsync
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.