Make key mapping screen save changes

This commit is contained in:
Daniel Dressler 2013-06-30 22:48:15 -07:00
parent 643133238f
commit 20399b9d6c
3 changed files with 16 additions and 10 deletions

View file

@ -25,12 +25,7 @@ using namespace KeyMap;
// default
std::map<int,int> *platform_keymap = NULL;
// Default key mapping
// Ugly, yet the cleanest way
// I could find to create a
// static map.
// Still nicer than what
// I once did in C.
// TODO: Make use const_map.h from native
struct DefaultKeyMap {
static std::map<int,int> init()
{