Table of Contents

Class InputProviderKeyboardEventArgs

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

Contains data for input provider keyboard events

public class InputProviderKeyboardEventArgs : EventArgs
Inheritance
object
InputProviderKeyboardEventArgs
Inherited Members

Constructors

InputProviderKeyboardEventArgs(ArtemisDevice?, KeyboardKey, bool)

Creates a new instance of the InputProviderKeyboardEventArgs class

public InputProviderKeyboardEventArgs(ArtemisDevice? device, KeyboardKey key, bool isDown)

Parameters

device ArtemisDevice

The device that triggered the event

key KeyboardKey

The key that triggered the event

isDown bool

Whether the key is pressed down

Properties

Device

Gets the device that triggered the event

public ArtemisDevice? Device { get; }

Property Value

ArtemisDevice

IsDown

Gets whether the key is pressed down

public bool IsDown { get; }

Property Value

bool

Key

Gets the key that triggered the event

public KeyboardKey Key { get; }

Property Value

KeyboardKey