mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Added deviceprovider-loader to all projects
This commit is contained in:
1 parent
573ca419f9
commit
5e347db063
20 files changed
+247
No files matched your search
@@ -0,0 +1,24 @@
|
||||
using RGB.NET.Core;
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a device provider loaded used to dynamically load cooler-master devices into an application.
|
||||
/// </summary>
|
||||
public class CoolerMasterDeviceProviderLoader : IRGBDeviceProviderLoader<CoolerMasterDeviceProviderLoader>
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool RequiresInitialization => false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
|
||||
/// <inheritdoc />
|
||||
public IRGBDeviceProvider GetDeviceProvider() => CoolerMasterDeviceProvider.Instance;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Attributes\DeviceTypeAttribute.cs" />
|
||||
<Compile Include="CoolerMasterDeviceProvider.cs" />
|
||||
<Compile Include="CoolerMasterDeviceProviderLoader.cs" />
|
||||
<Compile Include="Enum\CoolerMasterPhysicalKeyboardLayout.cs" />
|
||||
<Compile Include="Enum\CoolerMasterDevicesIndexes.cs" />
|
||||
<Compile Include="Enum\CoolerMasterEffects.cs" />
|
||||
|
||||
Reference in new issue
Block a user