C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

struct KeyboardEventData

Defined in:  C4Types.h
The KeyboardEventData structure contains information about a keyboard event.
Definition

struct KeyboardEventData

Data Members
EventType       eventType; The type of keyboard event.
unsigned_int32  keyCode; The Unicode value for the key associated with the event.
unsigned_int32  modifierKeys; The modifier keys associated with the event.
Description
The KeyboardEventData structure contains the type of event, the Unicode character, and information about modifiers keys for a keyboard event. The modifierKeys field can be a combination (through logical OR) of the following values.
kModifierKeyShift The shift key was held down.
See Also

MouseEventData