CrystalSpace

Public API Reference

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

_csKeyModifiers Struct Reference
[Event handling]

Flags for all currently pressed modifiers. More...

#include <evdefs.h>

List of all members.

Public Attributes

unsigned int modifiers [csKeyModifierTypeLast]
 Bitmasks for different modifiers.


Detailed Description

Flags for all currently pressed modifiers.

Definition at line 213 of file evdefs.h.


Member Data Documentation

unsigned int _csKeyModifiers::modifiers[csKeyModifierTypeLast]
 

Bitmasks for different modifiers.

If the modifier number n was pressed, the nth bit is set.

Example - testing for a specific modifier:

Example - testing if any modifier of a type is pressed:

Definition at line 231 of file evdefs.h.


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