Class InputProviderKeyboardEventArgs
Contains data for input provider keyboard events
Inherited Members
Namespace: Artemis.Core.Services
Assembly: Artemis.Core.dll
Syntax
public class InputProviderKeyboardEventArgs : EventArgs
Constructors
InputProviderKeyboardEventArgs(ArtemisDevice?, KeyboardKey, bool)
Creates a new instance of the InputProviderKeyboardEventArgs class
Declaration
public InputProviderKeyboardEventArgs(ArtemisDevice? device, KeyboardKey key, bool isDown)
Parameters
Type | Name | Description |
---|---|---|
ArtemisDevice | device | The device that triggered the event |
KeyboardKey | key | The key that triggered the event |
bool | isDown | Whether the key is pressed down |
Properties
Device
Gets the device that triggered the event
Declaration
public ArtemisDevice? Device { get; }
Property Value
Type | Description |
---|---|
ArtemisDevice |
IsDown
Gets whether the key is pressed down
Declaration
public bool IsDown { get; }
Property Value
Type | Description |
---|---|
bool |
Key
Gets the key that triggered the event
Declaration
public KeyboardKey Key { get; }
Property Value
Type | Description |
---|---|
KeyboardKey |