mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 00:58:31 +00:00
Updated Initializing CUE.NET (markdown)
parent
3bd9e13943
commit
1218423bf1
@ -36,4 +36,14 @@ If you ever want to remove the lighting you added through the SDK and hand the c
|
||||
```C#
|
||||
CueSDK.Reinitialize();
|
||||
```
|
||||
this offers the same overload taking a bool-parameter to capture exclusive access as _Initialize_.
|
||||
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);
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user