mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 13:06: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:
|
All other keys would keep the color they had before:
|
||||||
```C#
|
```C#
|
||||||
CorsairKeyboard keyboard = CueSDK.KeyboardSDK;
|
CorsairKeyboard keyboard = CueSDK.KeyboardSDK;
|
||||||
|
keyboard.Brush = (SolidColorBrush)Color.Transparent; // This 'enables' manual color changes.
|
||||||
|
|
||||||
keyboard['A'].Color = Color.Red;
|
keyboard['A'].Color = Color.Red;
|
||||||
keyboard[CorsairKeyboardKeyId.B].Color = Color.Green;
|
keyboard[CorsairKeyboardKeyId.B].Color = Color.Green;
|
||||||
keyboard.Update();
|
keyboard.Update();
|
||||||
|
|||||||
Reference in new issue
Block a user