1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00
This commit is contained in:
Darth Affe 2022-12-26 00:50:22 +01:00
parent 472214ab2d
commit 553f99af26

View File

@ -12,7 +12,7 @@ If you're looking for a full blown software solution to manage your RGB-devices,
## Getting Started ## Getting Started
### Setup ### Setup
1. Add the [RGB.NET.Core](https://www.nuget.org/packages/RGB.NET.Core) and [Devices](https://www.nuget.org/packages?q=rgb.net.Devices)-Nugets for all devices you want to use. 1. Add the [RGB.NET.Core](https://www.nuget.org/packages/RGB.NET.Core) and [Devices](https://www.nuget.org/packages?q=rgb.net.Devices)-Nugets for all devices you want to use.
2. For some of the vendors SDK-libaries are needed. Check the contained Readmes for more information in that case. 2. For some of the vendors SDK-libraries are needed. Check the contained Readmes for more information in that case.
3. Create a new `RGBSurface`. 3. Create a new `RGBSurface`.
```csharp ```csharp
RGBSurface surface = new RGBSurface(); RGBSurface surface = new RGBSurface();
@ -28,7 +28,7 @@ You can also use the `Load`-Extension on the surface.
```csharp ```csharp
surface.Load(CorsairDeviceProvider.Instance); surface.Load(CorsairDeviceProvider.Instance);
``` ```
> While most device-providers are implemented in a way that supports fast loading like this some may have a different loading procedure. (For example the `WS281XDeviceProvider` requires device-definitions before loading.) > While most device-providers are implemented in a way that supports fast loading like this some may have a different loading procedures. (For example the `WS281XDeviceProvider` requires device-definitions before loading.)
5. Add an update-trigger. In most cases the TimerUpdateTrigger is preferable, but you can also implement your own to fit your needs. 5. Add an update-trigger. In most cases the TimerUpdateTrigger is preferable, but you can also implement your own to fit your needs.
```csharp ```csharp