IMouse does not contain a definition of SetLedAsync | Razer Insider

IMouse does not contain a definition of SetLedAsync

  • 8 November 2019
  • 0 replies
  • 390 views

In the code I couldn't figure out how to fix the
usings

so i decided to just use
Colore.Data

But when I try to use SetLedAsync I get an error about how IMouse does not contain a definition of SetLedAsync

code:
private async void Start_Click(object sender, EventArgs e)
{
var chroma = await ColoreProvider.CreateNativeAsync();
await chroma.Mouse.SetLedAsync(Colore.Effects.Mouse.Led.Strip1, (Colore.Data.Color.Red);
}

This topic has been closed for comments