1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-12 16:58:29 +00:00

Updated Perform basic lighting (markdown)

DarthAffe 2018-02-04 10:04:46 +01:00
parent eba7ab8eab
commit cfbe9378fb

@ -11,6 +11,8 @@ This code would set the color of the A-key on your keyboard to red and the color
All other keys would keep the color they had before:
```C#
CorsairKeyboard keyboard = CueSDK.KeyboardSDK;
keyboard.Brush = (SolidColorBrush)Color.Transparent; // This 'enables' manual color changes.
keyboard['A'].Color = Color.Red;
keyboard[CorsairKeyboardKeyId.B].Color = Color.Green;
keyboard.Update();