mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-10 20:46:24 +00:00
Updated Perform basic lighting (markdown)
1 parent
eba7ab8eab
commit
cfbe9378fb
1 file changed
+2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user