Table of Contents

Class KeyPressedEventResult

Namespace
RoboDk.API
Assembly
RoboDkApi.dll
public class KeyPressedEventResult : EventResult
Inheritance
KeyPressedEventResult
Inherited Members

Constructors

KeyPressedEventResult(IItem, int, KeyPressState, int)

Key pressed event.

public KeyPressedEventResult(IItem item, int keyId, KeyPressedEventResult.KeyPressState keyState, int modifiers)

Parameters

item IItem
keyId int

Key id as per Qt mappings: https://doc.qt.io/qt-5/qt.html#Key-enum

keyState KeyPressedEventResult.KeyPressState

Pressed or Released

modifiers int

Modifier bits as per Qt mappings: https://doc.qt.io/qt-5/qt.html#KeyboardModifier-enum

Properties

KeyId

Key id as per Qt mappings: https://doc.qt.io/qt-5/qt.html#Key-enum

public int KeyId { get; }

Property Value

int

KeyState

Is key pressed or released

public KeyPressedEventResult.KeyPressState KeyState { get; }

Property Value

KeyPressedEventResult.KeyPressState

Modifiers

public int Modifiers { get; }

Property Value

int