Show / Hide Table of Contents

Class CorsairRGBDevice<TDeviceInfo>

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Inheritance
object
AbstractBindable
Placeable
AbstractRGBDevice<TDeviceInfo>
CorsairRGBDevice<TDeviceInfo>
CorsairCustomRGBDevice
CorsairGraphicsCardRGBDevice
CorsairHeadsetRGBDevice
CorsairHeadsetStandRGBDevice
CorsairKeyboardRGBDevice
CorsairMainboardRGBDevice
CorsairMemoryRGBDevice
CorsairMouseRGBDevice
CorsairMousepadRGBDevice
CorsairTouchbarRGBDevice
Implements
IRGBDevice<TDeviceInfo>
ICorsairRGBDevice
IRGBDevice
IEnumerable<Led>
IEnumerable
IPlaceable
IBindable
INotifyPropertyChanged
IDisposable
Inherited Members
AbstractRGBDevice<TDeviceInfo>.DeviceInfo
AbstractRGBDevice<TDeviceInfo>.ColorCorrections
AbstractRGBDevice<TDeviceInfo>.RequiresFlush
AbstractRGBDevice<TDeviceInfo>.LedMapping
AbstractRGBDevice<TDeviceInfo>.UpdateQueue
AbstractRGBDevice<TDeviceInfo>.Update(bool)
AbstractRGBDevice<TDeviceInfo>.GetLedsToUpdate(bool)
AbstractRGBDevice<TDeviceInfo>.GetUpdateData(Led)
AbstractRGBDevice<TDeviceInfo>.UpdateLeds(IEnumerable<Led>)
AbstractRGBDevice<TDeviceInfo>.Dispose()
AbstractRGBDevice<TDeviceInfo>.DeviceUpdate()
AbstractRGBDevice<TDeviceInfo>.AddLed(LedId, in Point, in Size, object)
AbstractRGBDevice<TDeviceInfo>.RemoveLed(LedId)
AbstractRGBDevice<TDeviceInfo>.OnAttached()
AbstractRGBDevice<TDeviceInfo>.OnDetached()
AbstractRGBDevice<TDeviceInfo>.GetEnumerator()
Placeable.Parent
Placeable.Location
Placeable.Size
Placeable.Scale
Placeable.Rotation
Placeable.ActualLocation
Placeable.ActualSize
Placeable.Boundary
Placeable.LocationChanged
Placeable.SizeChanged
Placeable.ScaleChanged
Placeable.RotationChanged
Placeable.ActualLocationChanged
Placeable.ActualSizeChanged
Placeable.BoundaryChanged
Placeable.UpdateActualPlaceableData()
Placeable.OnLocationChanged()
Placeable.OnSizeChanged()
Placeable.OnScaleChanged()
Placeable.OnRotationChanged()
Placeable.OnActualLocationChanged()
Placeable.OnActualSizeChanged()
Placeable.OnBoundaryChanged()
AbstractBindable.PropertyChanged
AbstractBindable.RequiresUpdate<T>(ref T, T)
AbstractBindable.SetProperty<T>(ref T, T, string)
AbstractBindable.OnPropertyChanged(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Devices.CorsairLegacy
Assembly: RGB.NET.Devices.CorsairLegacy.dll
Syntax
public abstract class CorsairRGBDevice<TDeviceInfo> : AbstractRGBDevice<TDeviceInfo>, IRGBDevice<TDeviceInfo>, ICorsairRGBDevice, IRGBDevice, IEnumerable<Led>, IEnumerable, IPlaceable, IBindable, INotifyPropertyChanged, IDisposable where TDeviceInfo : CorsairRGBDeviceInfo
Type Parameters
Name Description
TDeviceInfo

Constructors

| Edit this page View Source

CorsairRGBDevice(TDeviceInfo, LedMapping<CorsairLedId>, CorsairDeviceUpdateQueue)

Initializes a new instance of the CorsairRGBDevice<TDeviceInfo> class.

Declaration
protected CorsairRGBDevice(TDeviceInfo info, LedMapping<CorsairLedId> mapping, CorsairDeviceUpdateQueue updateQueue)
Parameters
Type Name Description
TDeviceInfo info

The generic information provided by CUE for the device.

LedMapping<CorsairLedId> mapping

The mapping LedId to CorsairLedId used to update the LEDs of this device.

CorsairDeviceUpdateQueue updateQueue

The queue used to update this device.

Properties

| Edit this page View Source

Mapping

Gets the mapping of LedId to CorsairLedId used to update the LEDs of this device.

Declaration
protected LedMapping<CorsairLedId> Mapping { get; }
Property Value
Type Description
LedMapping<CorsairLedId>

Methods

| Edit this page View Source

GetLedCustomData(LedId)

Gets the custom data associated with the specified LED.

Declaration
protected override object GetLedCustomData(LedId ledId)
Parameters
Type Name Description
LedId ledId

The id of the led.

Returns
Type Description
object

The custom data for the specified LED.

Overrides
AbstractRGBDevice<TDeviceInfo>.GetLedCustomData(LedId)
| Edit this page View Source

InitializeLayout()

Initializes the LEDs of the device based on the data provided by the SDK.

Declaration
protected virtual void InitializeLayout()

Implements

IRGBDevice<TDeviceInfo>
ICorsairRGBDevice
IRGBDevice
IEnumerable<T>
IEnumerable
IPlaceable
IBindable
INotifyPropertyChanged
IDisposable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX