Show / Hide Table of Contents

Class HIDDeviceDefinition<TLed, TData>

Represents the data used to define a HID-device.

Inheritance
object
HIDDeviceDefinition<TLed, TData>
Implements
IEquatable<HIDDeviceDefinition<TLed, TData>>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.HID
Assembly: RGB.NET.HID.dll
Syntax
public record HIDDeviceDefinition<TLed, TData> : IEquatable<HIDDeviceDefinition<TLed, TData>> where TLed : notnull
Type Parameters
Name Description
TLed

The type of the identifier leds are mapped to.

TData

The type of the custom data added to the HID-device.

Constructors

| Edit this page View Source

HIDDeviceDefinition(int, RGBDeviceType, string, LedMapping<TLed>, TData)

Represents the data used to define a HID-device.

Declaration
public HIDDeviceDefinition(int ProductId, RGBDeviceType DeviceType, string Name, LedMapping<TLed> LedMapping, TData CustomData)
Parameters
Type Name Description
int ProductId
RGBDeviceType DeviceType
string Name
LedMapping<TLed> LedMapping
TData CustomData

Properties

| Edit this page View Source

CustomData

Declaration
public TData CustomData { get; init; }
Property Value
Type Description
TData
| Edit this page View Source

DeviceType

Declaration
public RGBDeviceType DeviceType { get; init; }
Property Value
Type Description
RGBDeviceType
| Edit this page View Source

LedMapping

Declaration
public LedMapping<TLed> LedMapping { get; init; }
Property Value
Type Description
LedMapping<TLed>
| Edit this page View Source

Name

Declaration
public string Name { get; init; }
Property Value
Type Description
string
| Edit this page View Source

ProductId

Declaration
public int ProductId { get; init; }
Property Value
Type Description
int

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX