cohtml.InputSystem.KeyEvent

A class storing keyboard input event data.

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

Public Functions

Name
virtual override voidSend(CohtmlView view)
Sends the keyboard event to a CohtmlView component.

Public Properties

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.

Additional inherited members

Public Functions inherited from cohtml.InputSystem.InputEvent

Name
voidDispose()

Public Functions Documentation

function Send

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

Public Property Documentation

property Type

KeyEventData.EventType Type;

The event type of this key event.

property KeyCode

int KeyCode;

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

property Location

KeyEventData.EventLocation Location;

The event location of this key event.

property IsAutoRepeat

bool IsAutoRepeat;

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

property IsNumPad

bool IsNumPad;

property IsSystemKey

bool IsSystemKey;

property Modifiers

EventModifiersState Modifiers;

The key modifiers of this key event.