Class HIDDeviceDefinition<TLed, TData>
Represents the data used to define a HID-device.
Inheritance
HIDDeviceDefinition<TLed, TData>
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
Properties
|
Edit this page
View Source
CustomData
Declaration
public TData CustomData { get; init; }
Property Value
|
Edit this page
View Source
DeviceType
Declaration
public RGBDeviceType DeviceType { get; init; }
Property Value
|
Edit this page
View Source
LedMapping
Declaration
public LedMapping<TLed> LedMapping { get; init; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; init; }
Property Value
|
Edit this page
View Source
ProductId
Declaration
public int ProductId { get; init; }
Property Value
Implements