Skip to content
SiteEmail

cohtml.InputSystem.KeyEvent

A class storing keyboard input event data.

Inherits from cohtml.InputSystem.InputEvent, IKeyEventData, cohtml.InputSystem.IViewSendable

Name
virtual override voidSend(CohtmlView view)
Sends the keyboard event to a CohtmlView component.
Name
KeyEventData.EventTypeType
The event type of this key event.
intKeyCode
The key code represents the identification of the physical key that the user interacted with for this key event.
KeyEventData.EventLocationLocation
The event location of this key event.
boolIsAutoRepeat
Enabling this flag informs the event whether it should automatically repeat.
boolIsNumPad
boolIsSystemKey
EventModifiersStateModifiers
The key modifiers of this key event.

Public Functions inherited from cohtml.InputSystem.InputEvent

Name
voidDispose()
virtual override void Send(
CohtmlView view
)

Sends the keyboard event to a CohtmlView component.

Parameters:

  • view The CohtmlView component to receive the event.

Reimplements: cohtml.InputSystem.InputEvent.Send

KeyEventData.EventType Type;

The event type of this key event.

int KeyCode;

The key code represents the identification of the physical key that the user interacted with for this key event.

KeyEventData.EventLocation Location;

The event location of this key event.

bool IsAutoRepeat;

Enabling this flag informs the event whether it should automatically repeat.

bool IsNumPad;
bool IsSystemKey;
EventModifiersState Modifiers;

The key modifiers of this key event.