mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 16:58:29 +00:00
Updated Perform basic lighting (markdown)
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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user