cohtml.InputSystem.KeyEvent
A class storing keyboard input event data.
Inherits from cohtml.InputSystem.InputEvent, IKeyEventData, cohtml.InputSystem.IViewSendable
Public Functions
Name | |
---|---|
virtual override void | Send(CohtmlView view) Sends the keyboard event to a CohtmlView component. |
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
Public Functions inherited from cohtml.InputSystem.InputEvent
Name | |
---|---|
void | Dispose() |
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.