mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 00:58:31 +00:00
Fixed spacebar problem in example
This commit is contained in:
parent
f3d498afcf
commit
35ff696d1c
@ -100,14 +100,14 @@ namespace SimpleDevTest
|
||||
|
||||
keyboardGroup.SetColor(Color.Black);
|
||||
|
||||
IEnumerable<CorsairKey> keys = keyboard[point];
|
||||
IEnumerable<CorsairKey> keys = keyboard[point, 0.1f];
|
||||
if (keys != null)
|
||||
foreach (CorsairKey key in keys)
|
||||
key.Led.Color = Color.Orange;
|
||||
|
||||
keyboard.UpdateLeds();
|
||||
|
||||
// 20 updates per sec should be enought for what this
|
||||
// 20 updates per sec should be enought for this
|
||||
Thread.Sleep(50);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user