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