#include <map>#include "MercuryString.h"#include "MercuryVector.h"Go to the source code of this file.
Classes | |
| class | InputEvent |
| Class describing an input event. More... | |
| class | InputDevice |
| [internal] Input Device Driver definition More... | |
| class | InputDeviceTracker |
| [internal] Self-registering input device system. More... | |
| class | CursorDevice |
| [internal] Cursor devce defintion More... | |
| class | MercuryInputManager |
| Input Manager (accessable via INPUTMAN). More... | |
| class | InputMappingTracker |
| [internal] Input mapping tracker (for high level tracking) More... | |
| struct | InputMessageStruct |
| structure describing an input event as broadcasted over the message system More... | |
| class | DeviceNull |
| [internal] NULL input device More... | |
Defines | |
| #define | KeyMapping(x) const int x = AutoInputMappingTracker.MakeMappingCode( #x ) |
| Macro for defining a key mapping as found in mercury.ini. | |
| #define | KeyMappingWithCode(x, y) const int x = AutoInputMappingTracker.MakeMappingCode( #x, y ) |
Enumerations | |
| enum | EventType { IET_NONE, IET_DOWN, IET_RELEASE, IET_REPEAT } |
| Type of event, each keypress sends two, one down, one up. Potentially more (like repeat). More... | |
| enum | AllKBKeys { KB_0, KB_MOUSE1, KB_MOUSE2, KB_3, KB_4, KB_5 } |
Functions | |
| char | KeyToChar (char cHardwareChar, bool bShiftPressed) |
Variables | |
| InputDeviceTracker | AutoInputDeviceTracker |
| CursorDevice * | DefaultCursorDevice |
| MercuryInputManager * | INPUTMAN |
| InputMappingTracker | AutoInputMappingTracker |
| #define KeyMapping | ( | x | ) | const int x = AutoInputMappingTracker.MakeMappingCode( #x ) |
Macro for defining a key mapping as found in mercury.ini.
Definition at line 137 of file MercuryInput.h.
| #define KeyMappingWithCode | ( | x, | |||
| y | ) | const int x = AutoInputMappingTracker.MakeMappingCode( #x, y ) |
Definition at line 140 of file MercuryInput.h.
| enum AllKBKeys |
| enum EventType |
Type of event, each keypress sends two, one down, one up. Potentially more (like repeat).
Definition at line 9 of file MercuryInput.h.
| char KeyToChar | ( | char | cHardwareChar, | |
| bool | bShiftPressed | |||
| ) |
Definition at line 283 of file MercuryInput.cpp.
Definition at line 8 of file MercuryInput.cpp.
Definition at line 9 of file MercuryInput.cpp.
Definition at line 9 of file MercuryInputEE.cpp.
Definition at line 7 of file MercuryInput.cpp.