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

Updated Initializing CUE.NET (markdown)

DarthAffe 2017-01-07 22:07:22 +01:00
parent 3bd9e13943
commit 1218423bf1

@ -37,3 +37,13 @@ If you ever want to remove the lighting you added through the SDK and hand the c
CueSDK.Reinitialize();
```
this offers the same overload taking a bool-parameter to capture exclusive access as _Initialize_.
#### Checking SDK availability. ####
If you want to know if the CUE-SDK available and at least one light-controllable device is connected you can achieve this by calling
```C#
bool hasSomethingContollable = CueSDK.IsSDKAvailable();
```
Alternative you can specify a device-type to check for:
```C#
bool hasControllableKeyboard = CueSDK.IsSDKAvailable(CorsairDeviceType.Keyboard);
```