Example #1
0
 protected uint ColorToValue(byte r, byte g, byte b, KeyboardLedPosition position)
 {
     return((uint)(0xf0000000 + (b << 16) + (r << 8) + g) + (uint)position);
 }
Example #2
0
 public void SetColor(byte r, byte g, byte b, KeyboardLedPosition position)
 {
     _Clevo.RunMethod(_MethodName, ColorToValue(r, g, b, position));
 }