Pyrogenesis
trunk
|
#include "precompiled.h"
#include "Hotkey.h"
#include <boost/tokenizer.hpp>
#include "lib/input.h"
#include "ps/CConsole.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#include "ps/ConfigDB.h"
#include "ps/Globals.h"
#include "ps/KeyName.h"
Classes | |
struct | SKey |
struct | SHotkeyMapping |
Typedefs | |
typedef std::vector< SHotkeyMapping > | KeyMapping |
Functions | |
static void | LoadConfigBindings () |
void | LoadHotkeys () |
void | UnloadHotkeys () |
bool | isNegated (const SKey &key) |
InReaction | HotkeyInputHandler (const SDL_Event_ *ev) |
bool | HotkeyIsPressed (const CStr &keyname) |
Variables | |
static bool | unified [UNIFIED_LAST-UNIFIED_SHIFT] |
static std::map< int, KeyMapping > | g_HotkeyMap |
std::map< std::string, bool > | g_HotkeyStatus |
typedef std::vector<SHotkeyMapping> KeyMapping |
InReaction HotkeyInputHandler | ( | const SDL_Event_ * | ev | ) |
bool HotkeyIsPressed | ( | const CStr & | keyname | ) |
bool isNegated | ( | const SKey & | key | ) |
|
static |
void LoadHotkeys | ( | ) |
void UnloadHotkeys | ( | ) |
|
static |
std::map<std::string, bool> g_HotkeyStatus |
|
static |