Pyrogenesis
13997
|
#include "precompiled.h"
#include "Hotkey.h"
#include "lib/input.h"
#include "ConfigDB.h"
#include "CLogger.h"
#include "CConsole.h"
#include "CStr.h"
#include "ps/Globals.h"
#include "KeyName.h"
Go to the source code of this file.
Classes | |
struct | SKey |
struct | SHotkeyMapping |
Macros | |
#define | SDLKEY SDLKey |
Typedefs | |
typedef std::vector < SHotkeyMapping > | KeyMapping |
Functions | |
static void | LoadConfigBindings () |
void | LoadHotkeys () |
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 |
#define SDLKEY SDLKey |
Definition at line 34 of file Hotkey.cpp.
typedef std::vector<SHotkeyMapping> KeyMapping |
Definition at line 51 of file Hotkey.cpp.
InReaction HotkeyInputHandler | ( | const SDL_Event_ * | ev | ) |
Definition at line 175 of file Hotkey.cpp.
bool HotkeyIsPressed | ( | const CStr & | keyname | ) |
Definition at line 400 of file Hotkey.cpp.
|
static |
Definition at line 63 of file Hotkey.cpp.
void LoadHotkeys | ( | ) |
Definition at line 145 of file Hotkey.cpp.
|
static |
Definition at line 56 of file Hotkey.cpp.
std::map<std::string, bool> g_HotkeyStatus |
Definition at line 59 of file Hotkey.cpp.
|
static |
Definition at line 29 of file Hotkey.cpp.