cohtml.InputSystem.KeyEvent
A class storing keyboard input event data.
Inherits from cohtml.InputSystem.InputEvent, IKeyEventData, cohtml.InputSystem.IViewSendable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual override void | Send(CohtmlView view) Sends the keyboard event to a CohtmlView component. |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| 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. |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from cohtml.InputSystem.InputEvent
| Name | |
|---|---|
| void | Dispose() |
Public Functions Documentation
Section titled “Public Functions Documentation”function Send
Section titled “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
Section titled “Public Property Documentation”property Type
Section titled “property Type”KeyEventData.EventType Type;The event type of this key event.
property KeyCode
Section titled “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
Section titled “property Location”KeyEventData.EventLocation Location;The event location of this key event.
property IsAutoRepeat
Section titled “property IsAutoRepeat”bool IsAutoRepeat;Enabling this flag informs the event whether it should automatically repeat.
property IsNumPad
Section titled “property IsNumPad”bool IsNumPad;property IsSystemKey
Section titled “property IsSystemKey”bool IsSystemKey;property Modifiers
Section titled “property Modifiers”EventModifiersState Modifiers;The key modifiers of this key event.
© 2026 Coherent Labs. All rights reserved.