![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"#include "KeyName.h"#include "lib/external_libraries/libsdl.h"#include "ps/CStr.h"#include <algorithm>#include <unordered_map>#include <vector>
Functions | |
| SDL_Scancode | FindScancode (const CStr8 &keyname) |
| CStr | FindScancodeName (SDL_Scancode scancode) |
| CStr | FindKeyName (SDL_Scancode scancode) |
Variables | |
| static const std::unordered_map< int, std::vector< CStr > > | scancodemap |
| static const std::unordered_map< SDL_Keycode, CStr > | keyNames |
| CStr FindKeyName | ( | SDL_Scancode | scancode | ) |
| SDL_Scancode FindScancode | ( | const CStr8 & | keyname | ) |
| CStr FindScancodeName | ( | SDL_Scancode | scancode | ) |
|
static |
|
static |