CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csKeyEventData Struct Reference
[Event handling]

Structure that collects the data a keyboard event carries. More...

#include <iutil/event.h>

List of all members.

Public Attributes

csKeyEventType eventType
 Event type.
utf32_char codeRaw
 Raw key code.
utf32_char codeCooked
 Cooked key code.
csKeyModifiers modifiers
 Modifiers at the time the event was generated.
bool autoRepeat
 Auto-repeat flag.
csKeyCharType charType
 Type of the key, if it is a character key.


Detailed Description

Structure that collects the data a keyboard event carries.

The event it self doesn't transfer the data in this structure; it is merely meant to pass around keyboard event data in a compact way within client code without having to pass around the event itself.

See also:
csKeyEventHelper

Definition at line 114 of file event.h.


Member Data Documentation

bool csKeyEventData::autoRepeat
 

Auto-repeat flag.

Definition at line 125 of file event.h.

csKeyCharType csKeyEventData::charType
 

Type of the key, if it is a character key.

Definition at line 127 of file event.h.

utf32_char csKeyEventData::codeCooked
 

Cooked key code.

Definition at line 121 of file event.h.

utf32_char csKeyEventData::codeRaw
 

Raw key code.

Definition at line 119 of file event.h.

csKeyEventType csKeyEventData::eventType
 

Event type.

Definition at line 117 of file event.h.

csKeyModifiers csKeyEventData::modifiers
 

Modifiers at the time the event was generated.

Definition at line 123 of file event.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1