mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Fixed code issues
This commit is contained in:
1 parent
59e11e5b82
commit
7c0a216ccd
64 files changed
+278
-34
No files matched your search
@@ -1,4 +1,6 @@
|
||||
namespace RGB.NET.Devices.SteelSeries
|
||||
#pragma warning disable 1591
|
||||
|
||||
namespace RGB.NET.Devices.SteelSeries
|
||||
{
|
||||
// DarthAffe 09.07.2020: Review the LISP-Handler in SteelSeriesSDK after adding new device-types! They need to be initialized.
|
||||
public enum SteelSeriesDeviceType
|
||||
|
||||
@@ -25,6 +25,9 @@ namespace RGB.NET.Devices.SteelSeries
|
||||
/// <inheritdoc />
|
||||
public object? LayoutMetadata { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of this device used in the SDK.
|
||||
/// </summary>
|
||||
public SteelSeriesDeviceType SteelSeriesDeviceType { get; }
|
||||
|
||||
#endregion
|
||||
@@ -36,9 +39,7 @@ namespace RGB.NET.Devices.SteelSeries
|
||||
/// </summary>
|
||||
/// <param name="deviceType">The type of the <see cref="IRGBDevice"/>.</param>
|
||||
/// <param name="model">The represented device model.</param>
|
||||
/// <param name="deviceCaps">The lighting-capabilities of the device.</param>
|
||||
/// <param name="imageLayout">The layout used to decide which images to load.</param>
|
||||
/// <param name="layoutPath">The path/name of the layout-file.</param>
|
||||
/// <param name="steelSeriesDeviceType">The type of this device used in the SDK.</param>
|
||||
internal SteelSeriesRGBDeviceInfo(RGBDeviceType deviceType, string model, SteelSeriesDeviceType steelSeriesDeviceType)
|
||||
{
|
||||
this.DeviceType = deviceType;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace RGB.NET.Devices.SteelSeries
|
||||
{
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// Represents a device provider responsible for SteelSeries- devices.
|
||||
/// Represents a device provider responsible for SteelSeries-devices.
|
||||
/// </summary>
|
||||
public class SteelSeriesDeviceProvider : AbstractRGBDeviceProvider
|
||||
{
|
||||
@@ -22,6 +22,9 @@ namespace RGB.NET.Devices.SteelSeries
|
||||
|
||||
private const int VENDOR_ID = 0x1038;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the HID-definitions for SteelSeries-devices.
|
||||
/// </summary>
|
||||
public static HIDLoader<SteelSeriesLedId, SteelSeriesDeviceType> DeviceDefinitions { get; } = new(VENDOR_ID)
|
||||
{
|
||||
//Mice
|
||||
|
||||
Reference in new issue
Block a user