diff options
Diffstat (limited to 'backends/events')
-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; |