4using Microsoft.Xna.Framework.Input;
472 for (
int i = 0; i <
base.LedCount; i++)
static Fragment CreateFragment(CorsairLedPosition[] leds, Vector2 offset)
static CorsairLedPosition[] GetLedPositionsForMouseMatOrKeyboard(int deviceIndex)
override void Render(IEnumerable< RgbKey > keys)
readonly Dictionary< Keys, int > _xnaKeyToIndex
static readonly Dictionary< CorsairLedId, Keys > _corsairToXnaKeys
CorsairKeyboard(Fragment fragment, CorsairLedPosition[] ledPositions, DeviceColorProfile colorProfile)
readonly CorsairLedColor[] _ledColors
static CorsairKeyboard Create(int deviceIndex, DeviceColorProfile colorProfile)
static bool CorsairSetLedsColorsAsync(int size, [In][Out] CorsairLedColor[] ledsColors, IntPtr callback, IntPtr context)
Vector4 GetProcessedLedColor(int index)
void SetLedColor(int index, Vector4 color)
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
static readonly IntPtr Zero