Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting color isn't working #290

Open
Symbai opened this issue May 21, 2021 · 1 comment
Open

Setting color isn't working #290

Symbai opened this issue May 21, 2021 · 1 comment

Comments

@Symbai
Copy link

Symbai commented May 21, 2021

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
Copy link
Author

Symbai commented May 21, 2021

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 😂🤦‍♂️🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant