mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 13:06:24 +00:00
Fixed spacebar problem in example
This commit is contained in:
1 parent
f3d498afcf
commit
35ff696d1c
1 file changed
+2
-2
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user