Class KeyboardSectionAdaptionHint
Represents a hint that adapts layers to a certain region of keyboards
Implements
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class KeyboardSectionAdaptionHint : CorePropertyChanged, IAdaptionHint
Constructors
KeyboardSectionAdaptionHint()
Creates a new instance of the KeyboardSectionAdaptionHint class
Declaration
public KeyboardSectionAdaptionHint()
Properties
Section
Gets or sets the section this hint will apply LEDs to
Declaration
public KeyboardSection Section { get; set; }
Property Value
Type | Description |
---|---|
KeyboardSection |
Methods
Apply(Layer, List<ArtemisDevice>)
Applies the adaptive action to the provided layer
Declaration
public void Apply(Layer layer, List<ArtemisDevice> devices)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | The layer to adapt |
List<ArtemisDevice> | devices | The devices to adapt the layer for |
GetEntry()
Returns an adaption hint entry for this adaption hint used for persistent storage
Declaration
public IAdaptionHintEntity GetEntry()
Returns
Type | Description |
---|---|
IAdaptionHintEntity |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |