Table of Contents

Class ArtemisKeyboardKeyEventArgs

Namespace
Artemis.Core.Services
Assembly
Artemis.Core.dll

Contains data for keyboard input events

public class ArtemisKeyboardKeyEventArgs : EventArgs
Inheritance
object
ArtemisKeyboardKeyEventArgs
Derived
Inherited Members

Properties

Device

Gets the device that triggered the event

public ArtemisDevice? Device { get; }

Property Value

ArtemisDevice

Key

Gets the key that triggered the event

public KeyboardKey Key { get; }

Property Value

KeyboardKey

Led

Gets the LED that corresponds to the pressed key

public ArtemisLed? Led { get; }

Property Value

ArtemisLed

Modifiers

Gets the modifiers that are pressed

public KeyboardModifierKey Modifiers { get; }

Property Value

KeyboardModifierKey

Methods

ToHotkey()

Creates a hotkey matching the event.

public Hotkey ToHotkey()

Returns

Hotkey

The resulting hotkey.