IMouse does not contain a definition of SetLedAsync
iprisj opened this issue · 2 comments
iprisj commented
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
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);
}
Sharparam commented
Where are you getting SetLedAsync
from? You're probably looking for SetStaticAsync(Color, Led)
Sharparam commented
Closing due to inactivity, feel free to reply back with more informatin though :)