Class ArtemisKeyboardKeyEventArgs
Contains data for keyboard input events
public class ArtemisKeyboardKeyEventArgs : EventArgs
- Inheritance
-
objectArtemisKeyboardKeyEventArgs
- Derived
- Inherited Members
Properties
Device
Gets the device that triggered the event
public ArtemisDevice? Device { get; }
Property Value
Key
Gets the key that triggered the event
public KeyboardKey Key { get; }
Property Value
Led
Gets the LED that corresponds to the pressed key
public ArtemisLed? Led { get; }
Property Value
Modifiers
Gets the modifiers that are pressed
public KeyboardModifierKey Modifiers { get; }
Property Value
Methods
ToHotkey()
Creates a hotkey matching the event.
public Hotkey ToHotkey()
Returns
- Hotkey
The resulting hotkey.