diff options
author | Stephen Kennedy | 2008-08-08 14:23:59 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-08-08 14:23:59 +0000 |
commit | 4eacc09024515dc95e0afbb1ca9a8f610c55a84d (patch) | |
tree | 5ba3182cc818e7ff0e3957536f8af48c30e14da2 /backends/events/default/default-events.cpp | |
parent | 2645ca48ad9bc219b43ab88cc5b071952297a992 (diff) | |
download | scummvm-rg350-4eacc09024515dc95e0afbb1ca9a8f610c55a84d.tar.gz scummvm-rg350-4eacc09024515dc95e0afbb1ca9a8f610c55a84d.tar.bz2 scummvm-rg350-4eacc09024515dc95e0afbb1ca9a8f610c55a84d.zip |
Keymapper WIP:
* Got rid of default keymaps as they over-complicated the API
* Remapping dialog WIP
svn-id: r33699
Diffstat (limited to 'backends/events/default/default-events.cpp')
-rw-r--r-- | backends/events/default/default-events.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp index 026892a050..ccea12dad6 100644 --- a/backends/events/default/default-events.cpp +++ b/backends/events/default/default-events.cpp @@ -29,6 +29,7 @@ #include "common/config-manager.h" #include "backends/events/default/default-events.h" #include "backends/keymapper/keymapper.h" +#include "backends/keymapper/remap-dialog.h" #include "backends/vkeybd/virtual-keyboard.h" #include "engines/engine.h" @@ -427,6 +428,9 @@ bool DefaultEventManager::pollEvent(Common::Event &event) { if (!isPaused) g_engine->pauseEngine(false); result = false; } + } else if (event.kbd.keycode == Common::KEYCODE_F7 && event.kbd.flags == 0) { + Common::RemapDialog dialog; + dialog.runModal(); } break; |