1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-13 09:08:34 +00:00

Fixed spacebar problem in example

This commit is contained in:
unknown 2015-09-20 08:30:17 +02:00
parent f3d498afcf
commit 35ff696d1c

View File

@ -100,14 +100,14 @@ namespace SimpleDevTest
keyboardGroup.SetColor(Color.Black); keyboardGroup.SetColor(Color.Black);
IEnumerable<CorsairKey> keys = keyboard[point]; IEnumerable<CorsairKey> keys = keyboard[point, 0.1f];
if (keys != null) if (keys != null)
foreach (CorsairKey key in keys) foreach (CorsairKey key in keys)
key.Led.Color = Color.Orange; key.Led.Color = Color.Orange;
keyboard.UpdateLeds(); keyboard.UpdateLeds();
// 20 updates per sec should be enought for what this // 20 updates per sec should be enought for this
Thread.Sleep(50); Thread.Sleep(50);
} }
} }