From cfbe9378fbd2b10e87f8e5706c4716ab806ba614 Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Sun, 4 Feb 2018 10:04:46 +0100 Subject: [PATCH] Updated Perform basic lighting (markdown) --- Perform-basic-lighting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Perform-basic-lighting.md b/Perform-basic-lighting.md index 9ac508c..c2e7319 100644 --- a/Perform-basic-lighting.md +++ b/Perform-basic-lighting.md @@ -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();