CrystalSpace

Public API Reference

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

csKeyEventData Struct Reference
[Event handling]

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

#include <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 105 of file event.h.


Member Data Documentation

bool csKeyEventData::autoRepeat
 

Auto-repeat flag.

Definition at line 116 of file event.h.

csKeyCharType csKeyEventData::charType
 

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

Definition at line 118 of file event.h.

utf32_char csKeyEventData::codeCooked
 

Cooked key code.

Definition at line 112 of file event.h.

utf32_char csKeyEventData::codeRaw
 

Raw key code.

Definition at line 110 of file event.h.

csKeyEventType csKeyEventData::eventType
 

Event type.

Definition at line 108 of file event.h.

csKeyModifiers csKeyEventData::modifiers
 

Modifiers at the time the event was generated.

Definition at line 114 of file event.h.


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