3using Microsoft.Xna.Framework.Input;
429 _colors =
new byte[base.LedCount * 4];
441 for (
int i = 0; i <
base.LedCount; i++)
447 _colors[i * 4 + 3] =
byte.MaxValue;
460 foreach (
RgbKey key
in keys)
static readonly Dictionary< Keys, KeyName > XnaToLogitechKeys
LogitechKeyboard(DeviceColorProfile colorProfile)
readonly KeyName[] _excludedKeys
override void Render(IEnumerable< RgbKey > keys)
static bool LogiLedSetLightingFromBitmap(byte[] bitmap)
static bool LogiLedSetTargetDevice(int targetDevice)
static bool LogiLedExcludeKeysFromBitmap(KeyName[] keyList, int listCount)
static bool LogiLedSetLightingForKeyWithKeyName(KeyName keyCode, int redPercentage, int greenPercentage, int bluePercentage)
Color ProcessLedColor(Color color)
Vector4 GetProcessedLedColor(int index)