Table of Contents

Class KeyboardSectionAdaptionHint

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a hint that adapts layers to a certain region of keyboards

public class KeyboardSectionAdaptionHint : CorePropertyChanged, IAdaptionHint
Inheritance
object
CorePropertyChanged
KeyboardSectionAdaptionHint
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

KeyboardSection

Methods

Apply(Layer, List<ArtemisDevice>)

Applies the adaptive action to the provided layer

public void Apply(Layer layer, List<ArtemisDevice> devices)

Parameters

layer Layer

The layer to adapt

devices List<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.